Reference > TDBTime Control > TDBTime Control Properties > AMPM Property (TDBTime) |
AMPM Property (TDBTime)
Returns the appropriate character describing A.M. or P.M. for the current time value.
TDBTime.AMPM
Read-only at run time. Not available at design time.
When the Format property is set to the 12-hour format, the appropriate character (based on the keyword ) will be returned describing A.M. or P.M. for the current time value.
If the time format is set to the 24-hour format, the AMPM property will return the character based on the system setting. If the underlying time is set to Null, a zero-length string will be returned.
See Also