AMPM()

From Lianjapedia
Jump to: navigation, search

Purpose

Function to return 12-hour clock time

Syntax

AMPM()

See Also

CTOT(), DATE(), DATETIME(), ELAPTIME(), HOUR(), HOURS(), MINUTE(), MINUTES(), SEC(), SECONDS(), SECS(), SET SECONDS, TIME(), TIMEOFDAY(), TIMESTAMP(), TSTRING(), TTOC(), TTOD(), VALIDTIME()

Description

The AMPM() function returns the time based on a 12 hour clock as a character string followed by "am" or "pm".

Example

? ampm()
07:30:24 pm