Date/Time Macros
The following macros can be used in Format field in Customize Date/Time dialog box.Macro | Description |
$(d) | Day of month. |
$(dd) | Day of month with leading zero. |
$(ddd) | Day of week. |
$(dddd) | Day of week full name. |
$(M) | Month. |
$(MM) | Month with leading zero. |
$(MMM) | Month abbreviation. |
$(MMMM) | Month full name. |
$(y) | Year. |
$(yy) | Year with leading zero. |
$(yyyy) | Year full four digits. |
$(gg) | Period/Era. |
$(h) | Hours. |
$(hh) | Hours with leading zero. |
$(H) | Hours in 24-hour clock. |
$(HH) | Hours in 24-hour clock with leading zero. |
$(m) | Minutes. |
$(mm) | Minutes with leading zero. |
$(s) | Seconds. |
$(ss) | Seconds with leading zero. |
$(t) | Time marker short. |
$(tt) | Time marker long. |
Date/Time macros are case-sensitive.