TheBrain Custom Date and Time Format Information

TheBrain Custom Date and Time Format Information

CharactersResult
dThe day of the month, from 1 through 31.
ddThe day of the month, from 01 through 31.
dddThe abbreviated name of the day of the week.
ddddThe full name of the day of the week.
hThe hour, using a 12-hour clock from 1 to 12.
hhThe hour, using a 12-hour clock from 01 to 12.
HThe hour, using a 24-hour clock from 0 to 23.
HHThe hour, using a 24-hour clock from 00 to 23.
KTime zone information.
mmThe minute, from 00 through 59.
MThe month, from 1 through 12.
MMThe month, from 01 through 12.
MMMThe abbreviated name of the month.
MMMMThe full name of the month.
ssThe second, from 00 through 59.
tThe first character of the AM/PM designator.
ttThe AM/PM designator.
yyThe year, from 00 to 99.
yyyyThe year as a four-digit number.
zHours offset from UTC, with no leading zeros.
zzHours offset from UTC, with a leading zero for a single-digit value.
zzzHours and minutes offset from UTC.
:The time separator.
/The date separator.
\Escape character. Use this to include one of the above special characters literally. For example, "\h" will output "h" instead of the hour.