User:Maintenance/Peculiar Investor/Debug date and time

From finiki, the Canadian financial wiki

Debugging info

Current date and time
Universal time Local-website time
Variable Output Variable Output
{{CURRENTYEAR}} 2024 {{LOCALYEAR}} 2024
{{CURRENTMONTH}} 12 {{LOCALMONTH}} 12
{{CURRENTMONTHNAME}} December {{LOCALMONTHNAME}} December
{{CURRENTMONTHABBREV}} Dec {{LOCALMONTHABBREV}} Dec
{{CURRENTDAY}}[a] 22 {{LOCALDAY}}[a] 22
{{CURRENTDAY2}}[a] 22 {{LOCALDAY2}}[a] 22
{{CURRENTDOW}} 0 {{LOCALDOW}} 0
{{CURRENTDAYNAME}} Sunday {{LOCALDAYNAME}} Sunday
{{CURRENTTIME}} 15:38 {{LOCALTIME}} 15:38
{{CURRENTHOUR}} 15 {{LOCALHOUR}} 15
{{CURRENTWEEK}} 51 {{LOCALWEEK}} 51
{{CURRENTTIMESTAMP}} 20241222153842 {{LOCALTIMESTAMP}} 20241222153842

Notes

  1. ^ a b c d {{CURRENTDAY}}, {{LOCALDAY}}and {{REVISIONDAY}}return the day (i.e. "6"), whilst {{CURRENTDAY2}}, {{LOCALDAY2}}and {{REVISIONDAY2}}return the day with zero-padding (i.e. "06"). For all two-digit days (i.e. 10 to 31), these are the same.