the
modifiertime
time
()
Modifier is short
, abbreviated
, long
, or English
. The default is short
.
put the time
The time
function returns a date
representing the current time. There are three forms of the time
function:
the short time or the abbrev time |
12.34 PM |
the long time |
12.34.56 PM |
the English time |
12:34:56 PM |
The format of the time is dependent on the current locale. This is important if you want to write scripts that work anywhere without modification. You cannot assume that the time
function will always return a time in the same format.
To prevent issues caused by differing local time formats, use the seconds
or the dateItems
to store and perform calculations with dates and times.