DateTim...e::en_NZ(3)

✨ NAME ✨

okay so bestie, this page is DateTime::Locale::en_NZ(3) β€” the User Contributed Perl Documentation for the English New Zealand (en-NZ) locale, and it is literally all about locale data examples. No cap. πŸ’–

🌸 DESCRIPTION 🌸

This pod file contains examples of the locale data available for the English New Zealand locale. It’s giving β€œshow me the data, every single crumb of it” energy. ✨

πŸŽ€ Days πŸŽ€

Day names, in every lil flavour the locale ships. Same days, different formatting vibe. πŸ’…

Wide (format)

Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

Abbreviated (format)

Mon
Tue
Wed
Thu
Fri
Sat
Sun

Narrow (format)

M
T
W
T
F
S
S

Wide (stand-alone)

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 πŸ“

Month names, same deal: wide, abbreviated, narrow, and the stand-alone versions too. Obsessed with how consistent this is. 🫢

Wide (format)

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

Abbreviated (format)

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

Narrow (format)

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 πŸ¦‹

Quarter names and their cute lil abbreviated/narrow forms. Quarter one is the main character, obviously. πŸ‘‘

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 πŸ‘‘

Eras, wide/abbreviated/narrow. Ancient history but make it locale data. πŸ›οΈ

Wide (format)

Before Christ
Anno Domini

Abbreviated (format)

BC
AD

Narrow (format)

B
A

⭐ Date Formats ⭐

Date-only renderings for the three sample timestamps. Look at the range β€” we’re doing 2008, 1995, and even -0010. Iconic. 🌈

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 🌈

Time-only renderings, with the same three timestamps. Full and Long are twinning here, and honestly? Slay. πŸ’…

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 πŸ’œ

Date + time together. This is the β€œwhole outfit” of locale formatting. πŸ”₯

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 πŸ”₯

This is the big list of named available formats and exactly what they output for the three sample timestamps. Every single one is here, bestie. 🫢

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 (d/M)

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

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)

okay so picking up mid-pattern, the example lines we were in the middle of are literally these:

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

and then the pattern parade keeps going, no cap:

  • yM β€” MM/y πŸ’– month + year combo:
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, 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 + 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:
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 + year, main character energy:
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 β€” d/MM/y πŸ“ day/month/year, classic:
2008-02-05T18:30:30 = 5/02/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/09/-10
  • yQQQ β€” QQQ y ⭐ short 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 πŸ‘‘ full quarter + year:
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 + year:
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 pattern energy, same exact examples:
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) πŸ—“οΈ

🌸 Strftime Patterns 🌸

  • %c (%a %d %b %Y %T) β€” date time format ✨
2008-02-05T18:30:30 = Tue 05 Feb 2008 18:30:30
1995-12-22T09:05:02 = Fri 22 Dec 1995 09:05:02
-0010-09-15T04:44:23 = Sat 15 Sept -10 04:44:23
  • %x (%d/%m/%y) β€” date format πŸŽ€
2008-02-05T18:30:30 = 05/02/08
1995-12-22T09:05:02 = 22/12/95
-0010-09-15T04:44:23 = 15/09/10
  • %X (%T) β€” 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 🫢 that's the whole support section, bestie.


and the cute little footer moment: this page is from source/version perl v5.42.0, dated 2024-12-12, and the signature is DateTim...e::en_NZ(3) πŸ’…βœ¨

πŸ“¦ where this page comes from