DATE(1)
π DATE(1) β like, the whole manual page, bestie β¨
okay so real talk: this is DATE(1), which lives in the User Contributed Perl Documentation corner of the world (yes, the manual name is literally User Contributed Perl Documentation, and the page is numbered 1, section one, your classic user-commands zone π«Ά). It's the date page. It displays the date. And the time. Iconic behaviour, honestly.
πΈ NAME πΈ
date β display date and time
that's it. that's the whole name section. short, sweet, ate π
β¨ SYNOPSIS β¨
here's the whole vibe menu, exactly as written, no cap:
# show the local date in the default format
% date
# show the UTC date in the default format
% date -u
# display version, help
% date -v
% date -h
# show the local date in the specified format
% date +FORMAT
# show the GMT date in the specified format
% date -u +FORMAT
# show local date in ISO 8601 format
% date -I
# show local date in RFC 2822 format
% date -R
π breaking that down, one slay at a time
% dateβ shows the local date in the default format. your everyday main character command π% date -uβ shows the UTC date in the default format. UTC girlies rise π% date -vβ displays the version. perfect for when you need receipts π§Ύ% date -hβ displays help. your emotional support flag π«Ά% date +FORMATβ shows the local date in the specified format (FORMATis the placeholder, so swap in whatever format you're feeling) β% date -u +FORMATβ shows the GMT date in the specified format. yes,-uin the synopsis, described as GMT here β that's literally what the page says, so I'm repeating it fr fr π% date -Iβ shows the local date in ISO 8601 format. organised queen behaviour π% date -Rβ shows the local date in RFC 2822 format. fancy standards energy π¦
lowkey reminder: those lines above are the synopsis, so it's showing you the shapes the command can take β FORMAT is a stand-in, not a string you type literally. ikyk π
no sign-off yet bestie, there's more of this page coming π
β¨ DESCRIPTION β¨
okay bestie so this is the whole entire personality of date β every switch you can flip and every single little code you can drop after a % to make it spill absolutely everything about time. two subsections, both iconic, let's go π
π Options
+FORMATβ bestie this is how you specify the date format, like you're telling it exactly how to read your energy back to you β¨-hβ show the help message and then exit, the classic "wait what does this do again" move π«Ά-Iβ use the ISO 8601 date format:"%Y-%m-%dT%H:%M:%S%:z"β the standard-est standard that ever standarded π-Rβ use RFC 2822 format:"%a, %d %b %Y %T %z"β for when you need it to look like an email header, periodt π¦-uβ use UTC time instead of local time, the no-drama choice π-vβ show the version and exit, quick lil vibe check π
π Formats
okay this is the part everyone screenshots and sends in the group chat. every % code, all of them, no gatekeeping:
%%β literally just the character%. that's it. that's the whole thing πΈ%aβ three-letter weekday name%Aβ the full weekday name, no abbreviations, main character energy%bβ three-letter month name%Bβ the full month name, spelled all the way out π%cβ the locale version of the date-time string%Cβ century,00-99%dβ day of month, padded w/ zero%Dβ date inMM/DD/YYformat%eβ day of month, but padded w/ space instead (fancy π )%Fβ%Y-%m-%d%gβ ISO 8601 year%Gβ ISO 8601 year β yes it's listed right next to%gwith the exact same description, that's what the page says, don't come for me π%hβ three-letter month name%Hβ hourHH%Iβ hourHH, but 12 hour style%jβ three-digit Julian day%kβ hour, space padded%lβ hour, space padded, 12 hour%mβ month number01-12%Mβ minuteMM%nβ newline, the humble king π«Ά%pβAMorPM%Pβ like%p, but lowercase%qβ quarter of the year (1-4)%rβ time inHH(12 hour):MM:SS(AM|PM) format%Rβ time inHH:MMformat%sβ absolute seconds (since epoch), the raw number, unhinged behaviour honestly π₯%Sβ secondsSS%tβ tab%Tβ time inHH:MM:SSformat.%uβ day of week,1=Monday,7=Sunday.%Uβ two digit week number, starting on Sunday.%Vβ ISO week number, with Monday as the first day of week%wβ day of week,0=Sunday,6=Saturday.%Wβ two digit week number, start Monday.%xβ locale's date representation%Xβ locale's time representation%yβ two-digit year.%Yβ four-digit year.%zβ time zone offset in[+-]HHMM.%:zβ time zone offset in[+-]HH:MM.%Zβ time zone abbreviation, such asUTCorEST.
note bestie, this one's important πͺ: Windows does not use the POSIX time stuff, so we try to fake it. If you don't get what you expect for the time zone abbreviation please open an issue:https://github.com/briandfoy/PerlPowerTools/issues. If you look in the"date"file, you'll see a simple text list at the end that we use for Windows.
and that list? that's this list. here it is in full, unedited, every single line, because we don't summarise in this house π
__DATA__ Afghanistan Standard Time,Asia/Kabul,+0430 Alaskan Daylight
Time,America/Anchorage,-0900,AKDT Alaskan Standard
Time,America/Anchorage,-0800,AKST Aleutian Daylight
Time,America/Adak,-0900,HDT Aleutian Standard
Time,America/Adak,-1000,HST Altai Standard Time,Asia/Barnaul,+0700 Arab
Standard Time,Asia/Riyadh,+0300 Arabian Standard Time,Asia/Riyadh,+0300
Arabic Standard Time,Asia/Baghdad,+0300 Argentina Standard
Time,America/Argentina/Cordoba,-0300 Astrakhan Standard
Time,Europe/Astrakhan,+0400 Atlantic Daylight Time,America/Halifax,ADT
Atlantic Standard Time,America/Halifax,AST AUS Central Standard
Time,Australia/Adelaide,ACST Aus Central W. Standard
Time,Australia/Eucla,+0845 AUS Eastern Standard
Time,Australia/Sydney,AEST Azerbaijan Standard Time,Asia/Baku,+0400
Azores Daylight Time,Atlantic/Azores,+0000 Azores Standard
Time,Atlantic/Azores,-0100 Bahia Standard Time,America/Bahia,-0300
Bangladesh Standard Time,Asia/Dhaka,+0600 Belarus Standard
Time,Europe/Minsk,+0300 Bougainville Standard
Time,Pacific/Bougainville,+1100 Cabo Verde Standard
Time,Atlantic/Cape_Verde,-0100 Canada Central Standard
Time,America/Regina,CST Cape Verde Standard
Time,Atlantic/Cape_Verde,-0100 Caucasus Standard Time,Asia/Tbilisi,+0400
Cen. Australia Standard Time,Australia/Adelaide,ACST Central America
Standard Time,America/Belize,CST Central Asia Standard
Time,Asia/Almaty,+0600 Central Brazilian Standard
Time,America/Cuiaba,-0400 Central Daylight Time
(Mexico),America/Mexico_City,CDT Central Daylight
Time,America/Chicago,CDT Central Europe Daylight Time,Europe/Paris,CEST
Central Europe Standard Time,Europe/Paris,CET Central European Daylight
Time,Europe/Paris,CEST Central European Standard Time,Europe/Paris,CET
Central Pacific Standard Time,Pacific/Guadalcanal,+1100 Central Standard
Time (Mexico),America/Mexico_City,CST Central Standard
Time,America/Chicago,CST Chatham Islands Standard
Time,Pacific/Chatham,+1245 China Standard Time,Asia/Shanghai,CST Cuba
Daylight Time,America/Havana,CDT Cuba Standard Time,America/Havana,CST
Dateline Standard Time,, E. Africa Standard Time,Africa/Nairobi,EAT E.
Australia Standard Time,Australia/Sydney,AEST E. Europe Daylight
Time,Europe/Bucharest,EEST E. Europe Standard Time,Europe/Bucharest,EET
E. South America Standard Time,America/Argentina/Cordoba,-0300 Easter
Island Standard Time,Pacific/Easter,-0600 Eastern Daylight
Time,America/New_York,EDT Eastern Standard Time,America/New_York,EST
Egypt Standard Time,Africa/Cairo,EET Ekaterinburg Standard
Time,Asia/Yekaterinburg,+0500 Fiji Standard Time,Pacific/Fiji,+1200 FLE
Daylight Time,Europe/Helsinki,EEST FLE Standard Time,Europe/Helsinki,EET
Further-Eastern European Time,Europe/Minsk,+0300 Georgian Standard
Time,Asia/Tbilisi,+0400 !!! Olsen: no dst! GMT Daylight
Time,Greenwich,UTC GMT Standard Time,Greenwich,UTC Greenland Daylight
Time,America/Nuuk,-0200 Greenland Standard Time,America/Nuuk,-0300
Greenwich Standard Time,Greenwich,UTC GTB Daylight
Time,Europe/Athens,EEST GTB Standard Time,Europe/Athens,EET Haiti
Daylight Time,America/Port-au-Prince,EDT Haiti Standard
Time,America/Port-au-Prince,EST Hawaiian Standard
Time,Pacific/Honolulu,HST India Standard Time,Asia/Kolkata,IST Iran
Daylight Time,Asia/Tehran,+0430 Iran Standard Time,Asia/Tehran,+0330
Israel Standard Time,Asia/Jerusalem,IST Jerusalem Daylight
Time,Asia/Jerusalem,IDT Jerusalem Standard Time,Asia/Jerusalem,IST
Jordan Daylight Time,Asia/Amman,EEST Jordan Standard Time,Asia/Amman,EET
Kaliningrad Standard Time,Europe/Kaliningrad,EET Korea Standard
Time,Asia/Seoul,KST Libya Standard Time,Africa/Tripoli,EET Line Islands
Standard Time,Pacific/Kiritimati,+1400 Lord Howe Standard
Time,Australia/Lord_Howe,+1030 Magadan Standard Time,Asia/Magadan,+1100
Magallanes Standard Time,America/Punta_Arenas,-0300 Malay Peninsula
Standard Time,Asia/Kuala_Lumpur,MYT Marquesas Standard
Time,Pacific/Marquesas,-0930 Mauritius Standard
Time,Indian/Mauritius,+0400 Mexico Standard Time 2,, Mexico Standard
Time,, Mid-Atlantic Standard Time,, Middle East Daylight
Time,Asia/Beirut,EEST Middle East Standard Time,Asia/Beirut,EET
Montevideo Standard Time,America/Montevideo,-0300 Morocco Daylight
Time,Africa/Casablanca,+0100 Morocco Standard
Time,Africa/Casablanca,+0100 Mountain Daylight Time
(Mexico),America/Chihuahua,MDT Mountain Daylight Time,America/Denver,MDT
Mountain Standard Time (Mexico),America/Chihuahua,MST Mountain Standard
Time,America/Denver,MST Myanmar Standard Time,Asia/Yangon,+0630 N.
Central Asia Standard Time,Asia/Novosibirsk,+0700 Namibia Standard
Time,Africa/Windhoek,CAT Nepal Standard Time,Asia/Kathmandu,+0545 New
Zealand Standard Time,Pacific/Auckland,NZST Newfoundland and Labrador
Standard Time,America/St_Johns,NST Newfoundland Daylight
Time,America/St_Johns,NDT Newfoundland Standard
Time,America/St_Johns,NST Norfolk Standard Time,Pacific/Norfolk,+1100
North Asia East Standard Time,Asia/Irkutsk,+0800 North Asia Standard
Time,Asia/Krasnoyarsk,+0700 North Korea Standard Time,Asia/Pyongyang,KST
Novosibirsk Standard Time,Asia/Novosibirsk,+0700 Omsk Standard
Time,Asia/Omsk,+0600 Pacific Daylight Time,America/Los_Angeles,PDT
Pacific SA Standard Time,America/Lima,-0500 Pacific Standard Time
(Mexico),America/Tijuana,PST Pacific Standard
Time,America/Los_Angeles,PST Pakistan Standard Time,Asia/Karachi,PKT
Paraguay Standard Time,America/Asuncion,-0400 Qyzylorda Standard
Time,Asia/Qyzylorda,+0500 Romance Daylight Time,Europe/Paris,CEST
Romance Standard Time,Europe/Paris,CET Russia TZ 1 Standard
Time,Europe/Kaliningrad,EET,USZ1 Russia TZ 2 Standard
Time,Europe/Moscow,MSK Russia TZ 3 Standard
Time,Europe/Samara,+0400,SAMT Russia TZ 4 Standard
Time,Asia/Yekaterinburg,+0500,YEKT Russia TZ 5 Standard
Time,Asia/Omsk,OMST Russia TZ 6 Standard
Time,Asia/Krasnoyarsk,+0700,KRAT Russia TZ 7 Standard
Time,Asia/Irkutsk,+0800,IRKT Russia TZ 8 Standard
Time,Asia/Yakutsk,+0900,YAKT Russia TZ 9 Standard
Time,Asia/Vladivostok,+1000,VLAT Russia TZ 10 Standard
Time,Asia/Srednekolymsk,+1100,MAGT Russia TZ 11 Standard
Time,Asia/Anadyr,+1200,PETT Russian Standard Time,Europe/Moscow,MSK SA
Eastern Standard Time,America/Cayenne,-0300 SA Pacific Standard
Time,America/Lima,-0500 SA Western Standard Time,America/La_Paz,-0400
Saint Pierre Daylight Time,America/Miquelon,-0200 Saint Pierre Standard
Time,America/Miquelon,-0300 Sakhalin Standard Time,Asia/Sakhalin,+1100
Samoa Standard Time,Pacific/Apia,+1300 Sao Tome Standard
Time,Africa/Sao_Tome,GMT Saratov Standard Time,Europe/Saratov,+0400 SE
Asia Standard Time,Asia/Jakarta,WIB Singapore Standard
Time,Asia/Singapore,+0800 South Africa Standard
Time,Africa/Johannesburg,SAST South Sudan Standard Time,Africa/Juba,EAT
Sri Lanka Standard Time,Asia/Colombo,+0530 Sudan Standard
Time,Africa/Khartoum,CAT Syria Daylight Time,Asia/Damascus,EEST Syria
Standard Time,Asia/Damascus,EET Taipei Standard Time,Asia/Taipei,CST
Tasmania Standard Time,Australia/Hobart,AEST Tocantins Standard
Time,America/Araguaina,-0300 Tokyo Standard Time,Asia/Tokyo,JST Tomsk
Standard Time,Asia/Tomsk,+0700 Tonga Standard
Time,Pacific/Tongatapu,+1300 Transbaikal Standard Time,Asia/Chita,+0900
Turkey Standard Time,Europe/Istanbul,+0300 Turks and Caicos Daylight
Time,America/Grand_Turk,EDT Turks And Caicos Standard
Time,America/Grand_Turk,EST U.S. Eastern Standard
Time,America/New_York,EST Ulaanbaatar Standard
Time,Asia/Ulaanbaatar,+0800 US Eastern Daylight
Time,America/New_York,EDT US Eastern Standard Time,America/New_York,EST
US Mountain Standard Time,America/Denver,MST Venezuela Standard
Time,America/Caracas,-0400 Vladivostok Standard
Time,Asia/Vladivostok,+1000 Volgograd Standard
Time,Europe/Volgograd,+0300 W. Australia Standard
Time,Australia/Perth,AWST W. Central Africa Standard Time,, W. Europe
Daylight Time,Europe/London,BST W. Europe Standard
Time,Europe/London,GMT W. Mongolia Standard Time,Asia/Ulaanbaatar,+0800
West Asia Standard Time,Asia/Tashkent,+0500 West Bank Standard
Time,Asia/Hebron,EET West Pacific Standard
Time,Pacific/Port_Moresby,+1000 Yakutsk Standard Time,Asia/Yakutsk,+0900
Yukon Standard Time,America/Whitehorse,MST
and that's the whole page bestie, you ate it up π
this lil masterpiece is from perl v5.42.2, dated 2026-02-15, and it lives its best life as DATE(1) πβ¨π¦
π¦ where this page comes from
- alpine 3.24: perl-power-tools-doc 1.053-r1 Β· GPL-2.0-or-later AND Artistic-1.0-Perl AND Artistic-2.0 AND BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms