date.hourToString

Syntax date.hourToString (hournum)

Params hournum is the number of an hour in the day from 0 to 23.

Action Returns a string representing the specified hour in the day.

Returns a string representing the specified hour in the day.

Examples date.hourToString (0)

   » "Midnight"

date.hourToString (3)

   » "3AM"

See Also date.dayString

date.monthToString

Discuss