Jump to content

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}} 2025 {{LOCALYEAR}} 2025
{{CURRENTMONTH}} 01 {{LOCALMONTH}} 01
{{CURRENTMONTHNAME}} January {{LOCALMONTHNAME}} January
{{CURRENTMONTHABBREV}} Jan {{LOCALMONTHABBREV}} Jan
{{CURRENTDAY}}[a] 22 {{LOCALDAY}}[a] 21
{{CURRENTDAY2}}[a] 22 {{LOCALDAY2}}[a] 21
{{CURRENTDOW}} 3 {{LOCALDOW}} 2
{{CURRENTDAYNAME}} Wednesday {{LOCALDAYNAME}} Tuesday
{{CURRENTTIME}} 04:55 {{LOCALTIME}} 23:55
{{CURRENTHOUR}} 04 {{LOCALHOUR}} 23
{{CURRENTWEEK}} 4 {{LOCALWEEK}} 4
{{CURRENTTIMESTAMP}} 20250122045530 {{LOCALTIMESTAMP}} 20250121235530

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.