edtime function
$(edtime, time, picture)
Returns the time in a format according to the specified picture.
Mode | Setting |
---|---|
D | Abbreviated number of the day, for example, 9. |
DD | Number of the day, for example, 09. |
DDD | Abbreviated name of the day of the week, for example, Mon. |
DDDD | Name of the day of the week, for example, Monday. |
M | Abbreviated number of the month, for example, 9. |
MO | Number of the month, for example, 9. |
MON | Abbreviated name of the month, for example, Jul. |
MONTH | Name of the month, for example, July. |
YY | Abbreviated number of the year, for example, 08. |
YYYY | Number of the year, for example, 2008. |
H | Abbreviated number of the hour, for example, 9. |
HH | Number of the hour, for example, 09. |
MM | Number of minutes, for example, 15. |
SS | Number of seconds, for example, 54. |
MSEC | Number of minutes and milliseconds, for example, 215. |
AM/PM | Uppercase letters for after midnight or after noon: AM or PM. |
am/pm | Lowercase letters for after midnight or after noon: am or pm. |
A/P | Abbreviated uppercase letter for after midnight or after noon: A or P. |
a/p | Abbreviated lowercase letter for after midnight or after noon: a or p. |
Example
$(edtime,(getvar,cdate),MONTH D"," YYYY)