[vba]

Sub Time()
With ActiveCell

.Value = Now
.NumberFormat = "h:mm AM/PM"
End With
End Sub
[/vba]