DateTim...e::en_GD(3)

πŸ’– DateTime::Locale::en_GD(3) πŸ’–

okay bestie, so this is a page from the User Contributed Perl Documentation and it's literally all about DateTime::Locale::en_GD β€” the locale data for the English Grenada (en-GD) locale. it's giving reference manual, it's giving "everything you ever wanted to know about how en-GD writes dates and times." buckle up πŸŽ€


✨ NAME ✨

DateTime::Locale::en_GD β€” locale data examples for the English Grenada (en-GD) locale. no cap, that's the whole vibe. πŸ¦‹


🌸 DESCRIPTION 🌸

so this pod file is basically a big ol' show-and-tell of the locale data you get for the English Grenada locale. every example is right there so you can see exactly what en-GD does. scroll on, bestie πŸ’…


πŸ’œ Days

Wide (format) β€” the full-name era, main character energy:

Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

Abbreviated (format) β€” short & sweet:

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (format) β€” literally one letter, minimalism slay:

M
T
W
T
F
S
S

Wide (stand-alone) β€” same full names, but standing on their own:

Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

Abbreviated (stand-alone):

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (stand-alone):

M
T
W
T
F
S
S

🌈 Months

Wide (format) β€” the whole year, iconic:

January
February
March
April
May
June
July
August
September
October
November
December

Abbreviated (format) β€” and yes, September keeps its Sept, we love a nonconformist:

Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sept
Oct
Nov
Dec

Narrow (format) β€” single letters only, duh:

J
F
M
A
M
J
J
A
S
O
N
D

Wide (stand-alone):

January
February
March
April
May
June
July
August
September
October
November
December

Abbreviated (stand-alone):

Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sept
Oct
Nov
Dec

Narrow (stand-alone):

J
F
M
A
M
J
J
A
S
O
N
D

πŸ¦‹ Quarters

Wide (format):

1st quarter
2nd quarter
3rd quarter
4th quarter

Abbreviated (format):

Q1
Q2
Q3
Q4

Narrow (format):

1
2
3
4

Wide (stand-alone):

1st quarter
2nd quarter
3rd quarter
4th quarter

Abbreviated (stand-alone):

Q1
Q2
Q3
Q4

Narrow (stand-alone):

1
2
3
4

πŸŽ€ Eras

heads up, eras only come in the three format flavors β€” no stand-alone era set here, and that's just how it is πŸ’…

Wide (format):

Before Christ
Anno Domini

Abbreviated (format):

BC
AD

Narrow (format):

B
A

πŸ”₯ Date Formats πŸ”₯

✨ Full

 2008-02-05T18:30:30 = Tuesday, 5 February 2008
 1995-12-22T09:05:02 = Friday, 22 December 1995
-0010-09-15T04:44:23 = Saturday, 15 September -10

✨ Long

 2008-02-05T18:30:30 = 5 February 2008
 1995-12-22T09:05:02 = 22 December 1995
-0010-09-15T04:44:23 = 15 September -10

✨ Medium

 2008-02-05T18:30:30 = 5 Feb 2008
 1995-12-22T09:05:02 = 22 Dec 1995
-0010-09-15T04:44:23 = 15 Sept -10

✨ Short

 2008-02-05T18:30:30 = 05/02/2008
 1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/09/-10

⭐ Time Formats ⭐

πŸ’« Full

 2008-02-05T18:30:30 = 6:30:30 pm UTC
 1995-12-22T09:05:02 = 9:05:02 am UTC
-0010-09-15T04:44:23 = 4:44:23 am UTC

πŸ’« Long

 2008-02-05T18:30:30 = 6:30:30 pm UTC
 1995-12-22T09:05:02 = 9:05:02 am UTC
-0010-09-15T04:44:23 = 4:44:23 am UTC

πŸ’« Medium

 2008-02-05T18:30:30 = 6:30:30 pm
 1995-12-22T09:05:02 = 9:05:02 am
-0010-09-15T04:44:23 = 4:44:23 am

πŸ’« Short

 2008-02-05T18:30:30 = 6:30 pm
 1995-12-22T09:05:02 = 9:05 am
-0010-09-15T04:44:23 = 4:44 am

πŸ‘‘ Datetime Formats πŸ‘‘

🌟 Full

 2008-02-05T18:30:30 = Tuesday, 5 February 2008, 6:30:30 pm UTC
 1995-12-22T09:05:02 = Friday, 22 December 1995, 9:05:02 am UTC
-0010-09-15T04:44:23 = Saturday, 15 September -10, 4:44:23 am UTC

🌟 Long

 2008-02-05T18:30:30 = 5 February 2008, 6:30:30 pm UTC
 1995-12-22T09:05:02 = 22 December 1995, 9:05:02 am UTC
-0010-09-15T04:44:23 = 15 September -10, 4:44:23 am UTC

🌟 Medium

 2008-02-05T18:30:30 = 5 Feb 2008, 6:30:30 pm
 1995-12-22T09:05:02 = 22 Dec 1995, 9:05:02 am
-0010-09-15T04:44:23 = 15 Sept -10, 4:44:23 am

🌟 Short

 2008-02-05T18:30:30 = 05/02/2008, 6:30 pm
 1995-12-22T09:05:02 = 22/12/1995, 9:05 am
-0010-09-15T04:44:23 = 15/09/-10, 4:44 am

πŸ’… Available Formats πŸ’…

okay this is the big one, bestie β€” every single named format plus its pattern in parentheses, and three example renderings each. drink some water, we're going in. πŸ“

🧚 Bh (h B)

 2008-02-05T18:30:30 = 6 B
 1995-12-22T09:05:02 = 9 B
-0010-09-15T04:44:23 = 4 B

🧚 Bhm (h:mm B)

 2008-02-05T18:30:30 = 6:30 B
 1995-12-22T09:05:02 = 9:05 B
-0010-09-15T04:44:23 = 4:44 B

🧚 Bhms (h:mm:ss B)

 2008-02-05T18:30:30 = 6:30:30 B
 1995-12-22T09:05:02 = 9:05:02 B
-0010-09-15T04:44:23 = 4:44:23 B

🧚 E (ccc)

 2008-02-05T18:30:30 = Tue
 1995-12-22T09:05:02 = Fri
-0010-09-15T04:44:23 = Sat

🧚 EBhm (E h:mm B)

 2008-02-05T18:30:30 = Tue 6:30 B
 1995-12-22T09:05:02 = Fri 9:05 B
-0010-09-15T04:44:23 = Sat 4:44 B

🧚 EBhms (E h:mm:ss B)

 2008-02-05T18:30:30 = Tue 6:30:30 B
 1995-12-22T09:05:02 = Fri 9:05:02 B
-0010-09-15T04:44:23 = Sat 4:44:23 B

🧚 EHm (E HH:mm)

 2008-02-05T18:30:30 = Tue 18:30
 1995-12-22T09:05:02 = Fri 09:05
-0010-09-15T04:44:23 = Sat 04:44

🧚 EHms (E HH:mm:ss)

 2008-02-05T18:30:30 = Tue 18:30:30
 1995-12-22T09:05:02 = Fri 09:05:02
-0010-09-15T04:44:23 = Sat 04:44:23

🧚 Ed (E d)

 2008-02-05T18:30:30 = Tue 5
 1995-12-22T09:05:02 = Fri 22
-0010-09-15T04:44:23 = Sat 15

🧚 Ehm (E h:mm a)

 2008-02-05T18:30:30 = Tue 6:30 pm
 1995-12-22T09:05:02 = Fri 9:05 am
-0010-09-15T04:44:23 = Sat 4:44 am

🧚 Ehm-alt-ascii (E h:mm a)

 2008-02-05T18:30:30 = Tue 6:30 pm
 1995-12-22T09:05:02 = Fri 9:05 am
-0010-09-15T04:44:23 = Sat 4:44 am

🧚 Ehms (E h:mm:ss a)

 2008-02-05T18:30:30 = Tue 6:30:30 pm
 1995-12-22T09:05:02 = Fri 9:05:02 am
-0010-09-15T04:44:23 = Sat 4:44:23 am

🧚 Ehms-alt-ascii (E h:mm:ss a)

 2008-02-05T18:30:30 = Tue 6:30:30 pm
 1995-12-22T09:05:02 = Fri 9:05:02 am
-0010-09-15T04:44:23 = Sat 4:44:23 am

🧚 Gy (y G)

 2008-02-05T18:30:30 = 2008 AD
 1995-12-22T09:05:02 = 1995 AD
-0010-09-15T04:44:23 = -10 BC

🧚 GyMMM (MMM y G)

 2008-02-05T18:30:30 = Feb 2008 AD
 1995-12-22T09:05:02 = Dec 1995 AD
-0010-09-15T04:44:23 = Sept -10 BC

🧚 GyMMMEd (E, d MMM y G)

 2008-02-05T18:30:30 = Tue, 5 Feb 2008 AD
 1995-12-22T09:05:02 = Fri, 22 Dec 1995 AD
-0010-09-15T04:44:23 = Sat, 15 Sept -10 BC

🧚 GyMMMd (d MMM y G)

 2008-02-05T18:30:30 = 5 Feb 2008 AD
 1995-12-22T09:05:02 = 22 Dec 1995 AD
-0010-09-15T04:44:23 = 15 Sept -10 BC

🧚 GyMd (d/M/y G)

 2008-02-05T18:30:30 = 5/2/2008 AD
 1995-12-22T09:05:02 = 22/12/1995 AD
-0010-09-15T04:44:23 = 15/9/-10 BC

🧚 H (HH)

 2008-02-05T18:30:30 = 18
 1995-12-22T09:05:02 = 09
-0010-09-15T04:44:23 = 04

🧚 Hm (HH:mm)

 2008-02-05T18:30:30 = 18:30
 1995-12-22T09:05:02 = 09:05
-0010-09-15T04:44:23 = 04:44

🧚 Hms (HH:mm:ss)

 2008-02-05T18:30:30 = 18:30:30
 1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23

🧚 Hmsv (HH:mm:ss v)

 2008-02-05T18:30:30 = 18:30:30 UTC
 1995-12-22T09:05:02 = 09:05:02 UTC
-0010-09-15T04:44:23 = 04:44:23 UTC

🧚 Hmv (HH:mm v)

 2008-02-05T18:30:30 = 18:30 UTC
 1995-12-22T09:05:02 = 09:05 UTC
-0010-09-15T04:44:23 = 04:44 UTC

🧚 M (L)

 2008-02-05T18:30:30 = 2
 1995-12-22T09:05:02 = 12
-0010-09-15T04:44:23 = 9

🧚 MEd (E, dd/MM)

 2008-02-05T18:30:30 = Tue, 05/02
 1995-12-22T09:05:02 = Fri, 22/12
-0010-09-15T04:44:23 = Sat, 15/09

🧚 MMM (LLL)

 2008-02-05T18:30:30 = Feb
 1995-12-22T09:05:02 = Dec
-0010-09-15T04:44:23 = Sept

🧚 MMMEd (E, d MMM)

 2008-02-05T18:30:30 = Tue, 5 Feb
 1995-12-22T09:05:02 = Fri, 22 Dec
-0010-09-15T04:44:23 = Sat, 15 Sept

🧚 MMMMW-count-one ('week' W 'of' MMMM)

 2008-02-05T18:30:30 = week 1 of February
 1995-12-22T09:05:02 = week 3 of December
-0010-09-15T04:44:23 = week 2 of September

🧚 MMMMW-count-other ('week' W 'of' MMMM)

 2008-02-05T18:30:30 = week 1 of February
 1995-12-22T09:05:02 = week 3 of December
-0010-09-15T04:44:23 = week 2 of September

🧚 MMMMd (d MMMM)

 2008-02-05T18:30:30 = 5 February
 1995-12-22T09:05:02 = 22 December
-0010-09-15T04:44:23 = 15 September

🧚 MMMd (d MMM)

 2008-02-05T18:30:30 = 5 Feb
 1995-12-22T09:05:02 = 22 Dec
-0010-09-15T04:44:23 = 15 Sept

🧚 MMdd (dd/MM)

 2008-02-05T18:30:30 = 05/02
 1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/09

🧚 Md (dd/MM)

 2008-02-05T18:30:30 = 05/02
 1995-12-22T09:05:02 = 22/12
-0010-09-15T04:44:23 = 15/09

🧚 d (d)

 2008-02-05T18:30:30 = 5
 1995-12-22T09:05:02 = 22
-0010-09-15T04:44:23 = 15

🧚 h (h a)

 2008-02-05T18:30:30 = 6 pm
 1995-12-22T09:05:02 = 9 am
-0010-09-15T04:44:23 = 4 am

🧚 h-alt-ascii (h a)

 2008-02-05T18:30:30 = 6 pm
 1995-12-22T09:05:02 = 9 am
-0010-09-15T04:44:23 = 4 am

🧚 hm (h:mm a)

 2008-02-05T18:30:30 = 6:30 pm
 1995-12-22T09:05:02 = 9:05 am
-0010-09-15T04:44:23 = 4:44 am

🧚 hm-alt-ascii (h:mm a)

 2008-02-05T18:30:30 = 6:30 pm
 1995-12-22T09:05:02 = 9:05 am
-0010-09-15T04:44:23 = 4:44 am

🧚 hms (h:mm:ss a)

 2008-02-05T18:30:30 = 6:30:30 pm
 1995-12-22T09:05:02 = 9:05:02 am
-0010-09-15T04:44:23 = 4:44:23 am

🧚 hms-alt-ascii (h:mm:ss a)

 2008-02-05T18:30:30 = 6:30:30 pm
 1995-12-22T09:05:02 = 9:05:02 am
-0010-09-15T04:44:23 = 4:44:23 am

🧚 hmsv (h:mm:ss a v)

 2008-02-05T18:30:30 = 6:30:30 pm UTC
 1995-12-22T09:05:02 = 9:05:02 am UTC
-0010-09-15T04:44:23 = 4:44:23 am UTC

🧚 hmsv-alt-ascii (h:mm:ss a v)

 2008-02-05T18:30:30 = 6:30:30 pm UTC
 1995-12-22T09:05:02 = 9:05:02 am UTC
-0010-09-15T04:44:23 = 4:44:23 am UTC

🧚 hmv (h:mm a v)

 2008-02-05T18:30:30 = 6:30 pm UTC
 1995-12-22T09:05:02 = 9:05 am UTC
-0010-09-15T04:44:23 = 4:44 am UTC

🧚 hmv-alt-ascii (h:mm a v)

 2008-02-05T18:30:30 = 6:30 pm UTC
 1995-12-22T09:05:02 = 9:05 am UTC
-0010-09-15T04:44:23 = 4:44 am UTC

🧚 ms (mm:ss)

 2008-02-05T18:30:30 = 30:30
 1995-12-22T09:05:02 = 05:02
-0010-09-15T04:44:23 = 44:23

🧚 y (y)

…and the last little tail of the pattern that got chopped off at the top β€” that's the plain four-digit year, bestie:

2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
  • yM (MM/y) β€” month then year, lil slash moment:
2008-02-05T18:30:30 = 02/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 09/-10
  • yMEd (E, dd/MM/y) β€” weekday, then day/month/year:
2008-02-05T18:30:30 = Tue, 05/02/2008
1995-12-22T09:05:02 = Fri, 22/12/1995
-0010-09-15T04:44:23 = Sat, 15/09/-10
  • yMMM (MMM y) β€” short month name plus year:
2008-02-05T18:30:30 = Feb 2008
1995-12-22T09:05:02 = Dec 1995
-0010-09-15T04:44:23 = Sept -10
  • yMMMEd (E, d MMM y) β€” weekday, day, short month, year. the full little stack:
2008-02-05T18:30:30 = Tue, 5 Feb 2008
1995-12-22T09:05:02 = Fri, 22 Dec 1995
-0010-09-15T04:44:23 = Sat, 15 Sept -10
  • yMMMM (MMMM y) β€” full month name, no abbrev, we're fancy:
2008-02-05T18:30:30 = February 2008
1995-12-22T09:05:02 = December 1995
-0010-09-15T04:44:23 = September -10
  • yMMMd (d MMM y) β€” day, short month, year:
2008-02-05T18:30:30 = 5 Feb 2008
1995-12-22T09:05:02 = 22 Dec 1995
-0010-09-15T04:44:23 = 15 Sept -10
  • yMd (dd/MM/y) β€” day/month/year, zero-padded, the classic:
2008-02-05T18:30:30 = 05/02/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/09/-10
  • yQQQ (QQQ y) β€” abbreviated quarter + year:
2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10
  • yQQQQ (QQQQ y) β€” the long-form quarter, spelling it all the way out:
2008-02-05T18:30:30 = 1st quarter 2008
1995-12-22T09:05:02 = 4th quarter 1995
-0010-09-15T04:44:23 = 3rd quarter -10
  • yw-count-one ('week' w 'of' Y) β€” week number of the year, singular flavour:
2008-02-05T18:30:30 = week 6 of 2008
1995-12-22T09:05:02 = week 51 of 1995
-0010-09-15T04:44:23 = week 37 of -10
  • yw-count-other ('week' w 'of' Y) β€” same energy, the other plural category:
2008-02-05T18:30:30 = week 6 of 2008
1995-12-22T09:05:02 = week 51 of 1995
-0010-09-15T04:44:23 = week 37 of -10

πŸŽ€ Miscellaneous πŸŽ€

  • Prefers 24 hour time? No.
  • Local first day of the week: 1 (Monday).

^ that's it, that's the whole vibe report. Monday girlies rise 🫢


⏰ Strftime Patterns ⏰

Yes bestie, the old-school strftime crew is here too, and they brought receipts:

  • %c (%a %b %e %H:%M:%S %Y) β€” date time format:
2008-02-05T18:30:30 = Tue Feb  5 18:30:30 2008
1995-12-22T09:05:02 = Fri Dec 22 09:05:02 1995
-0010-09-15T04:44:23 = Sat Sept 15 04:44:23 -10
  • %x (%m/%d/%y) β€” date format:
2008-02-05T18:30:30 = 02/05/08
1995-12-22T09:05:02 = 12/22/95
-0010-09-15T04:44:23 = 09/15/10
  • %X (%H:%M:%S) β€” time format:
2008-02-05T18:30:30 = 18:30:30
1995-12-22T09:05:02 = 09:05:02
-0010-09-15T04:44:23 = 04:44:23

πŸ’œ SUPPORT πŸ’œ

See DateTime::Locale.

Like, go look at DateTime::Locale. It's the whole plug, it's giving "the real docs live over there", iykyk ✨


Okay that's the whole page, you made it to the end, I'm so proud of you πŸ˜­πŸ’– This was DateTim...e::en_GD(3) from the perl v5.42.0 era, dated 2024-12-12 β€” go forth and format your dates immaculately, no cap. πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from