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
- opensuse-leap 16.0: perl-DateTime-Locale 1.440000-160000.2.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms