Jump to content

User:Peculiar Investor/Maintenance/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}} 2025 {{LOCALYEAR}} 2025
{{CURRENTMONTH}} 05 {{LOCALMONTH}} 05
{{CURRENTMONTHNAME}} May {{LOCALMONTHNAME}} May
{{CURRENTMONTHABBREV}} May {{LOCALMONTHABBREV}} May
{{CURRENTDAY}}[a] 4 {{LOCALDAY}}[a] 4
{{CURRENTDAY2}}[a] 04 {{LOCALDAY2}}[a] 04
{{CURRENTDOW}} 0 {{LOCALDOW}} 0
{{CURRENTDAYNAME}} Sunday {{LOCALDAYNAME}} Sunday
{{CURRENTTIME}} 06:41 {{LOCALTIME}} 02:41
{{CURRENTHOUR}} 06 {{LOCALHOUR}} 02
{{CURRENTWEEK}} 18 {{LOCALWEEK}} 18
{{CURRENTTIMESTAMP}} 20250504064102 {{LOCALTIMESTAMP}} 20250504024102

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.