The TIMEAMPM
w.
d format
writes SAS time values in the form
hh:mm:ss.ss with
AM or PM, where
hh
is an integer that
represents the hour.
mm
is an integer that
represents the minutes.
ss.ss
is the number of seconds
to two decimal places.
Times greater than 23:59:59
PM appear as the next day.
Make
w large
enough to produce the desired results. To obtain a complete time value
with three decimal places and AM or PM, you must allow at least 11
spaces (
hh:mm:ss PM). If
w is
less than 5, SAS writes AM or PM only.