Template:Infobox calendar date today/sandbox
Appearance
Today | |
---|---|
Wednesday | |
Gregorian calendar | July 16, 2025 |
Islamic calendar | 20 Muharram, 1447 AH (using tabular method) |
Hebrew calendar | 20 Tammuz, AM 5785 |
Coptic calendar | [[Epip 9]], 1741 AM |
Solar Hijri calendar | 25 Tir, 1404 SH |
Bengali calendar | Shrabon 1, 1432 BS |
Julian calendar | July 3
[] |
![]() | This is the template sandbox page for Template:Infobox calendar date today (diff). |
Purpose
[edit]This template provides today's date in a variety of calendars. Only calendars with a substantial user base are included.
At present, the date changes one minute after 23:59 UTC+00. For users in other time zones, this can be up to 13 hours after (New Zealand summer time) or 11 hours before (American Samoa) the date changes in local time.
Sources
[edit]The following calendars are listed:
- Gregorian calendar (uses MediaWiki's #time function for calculation)
- Islamic calendar (uses the
xm
portion of MediaWiki's #time function for calculation) - Hebrew calendar (uses the
xj
portion of MediaWiki's #time function for calculation) - Coptic calendar (uses {{COPTICDATE}} for calculation)
- Solar Hijri calendar (uses the
xi
portion of MediaWiki's #time function for calculation) - Bengali calendar (uses {{BENGALIDATE}} for calculation)
- Julian calendar (uses {{JULIANCALENDAR}} for calculation)
Any problems with the calculated dates may be caused by the behavior of the templates or functions listed above.
The algorithms used by MediaWiki to produce these values are described in
- Dershowitz, Nachum; Reingold, Edward M. (2008). Calendrical Calculations (Third ed.). Cambridge: Cambridge University Press. ISBN 9780521885409. OCLC 144768713.
Usage
[edit]The template takes no parameters.