DateTim...e::en_IN(3)
π NAME π
okay bestie, this is the DateTim...e::en_IN(3) page β a User Contributed Perl Documentation entry β and the actual NAME is: DateTime::Locale::en_IN β Locale data examples for the English India (en-IN) locale. π
πΈ DESCRIPTION πΈ
This pod file contains examples of the locale data available for the English India locale. That's the whole vibe: a big ol' show-and-tell for en-IN data, so you can see exactly how the pieces are written out. β¨
π¦ Days π¦
Hereβs the day-name lineup, in every flavor the file shows. No cap, the narrow ones are doing the absolute most with those duplicate letters π
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 π
Months, months, months β wide, abbreviated, and narrow, both format and stand-alone. And yes, bestie, Sept is literally right there with the extra t π
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 in wide, abbreviated, and narrow form β format and stand-alone. Very structured, very demure β¨
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, bestie: wide, abbreviated, and narrow. Short and iconic π«Ά
Wide (format)
Before Christ
Anno Domini
Abbreviated (format)
BC
AD
Narrow (format)
B
A
π Date Formats π
Date formats from full to short, with all three sample timestamps kept exactly as they are. The negative year is serving ancient-history main character energy π
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/08
1995-12-22T09:05:02 = 22/12/95
-0010-09-15T04:44:23 = 15/09/-10
β° Time Formats β°
Time formats, full through short. Full and Long are out here with the UTC, and the shorter ones are just vibing without it π°οΈ
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 π
Datetime formats: the date and the time holding hands. Full, Long, Medium, Short, all lined up π
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/08, 6:30 pm
1995-12-22T09:05:02 = 22/12/95, 9:05 am
-0010-09-15T04:44:23 = 15/09/-10, 4:44 am
π Available Formats π
Available Formats time β¨ Each one has its label, its pattern in parentheses, and the three sample timestamps exactly as written. This is the part where the locale data really shows off its range π
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
GyMMMEEEEd (EEEE, d MMM y G)
2008-02-05T18:30:30 = Tuesday, 5 Feb 2008 AD
1995-12-22T09:05:02 = Friday, 22 Dec 1995 AD
-0010-09-15T04:44:23 = Saturday, 15 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
MMMEEEEd (EEEE, d MMM)
2008-02-05T18:30:30 = Tuesday, 5 Feb
1995-12-22T09:05:02 = Friday, 22 Dec
-0010-09-15T04:44:23 = Saturday, 15 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
MMMMEEEEd (EEEE, d MMMM)
2008-02-05T18:30:30 = Tuesday, 5 February
1995-12-22T09:05:02 = Friday, 22 December
-0010-09-15T04:44:23 = Saturday, 15 September
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)
β¦so anyway, unfinished business from the pattern right before this one β here are its last three examples, no cap:
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
okay bestie, deep breath, we're doing the rest of the pattern list π
πΈ 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
(yes, same output as hmv, that's literally the whole joke, the two variants are just vibing identically π«Ά)
β¨ 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)
2008-02-05T18:30:30 = 2008
1995-12-22T09:05:02 = 1995
-0010-09-15T04:44:23 = -10
π yM (MM/y)
2008-02-05T18:30:30 = 02/2008
1995-12-22T09:05:02 = 12/1995
-0010-09-15T04:44:23 = 09/-10
π yMEd (E, d/M/y)
2008-02-05T18:30:30 = Tue, 5/2/2008
1995-12-22T09:05:02 = Fri, 22/12/1995
-0010-09-15T04:44:23 = Sat, 15/9/-10
π yMMM (MMM y)
2008-02-05T18:30:30 = Feb 2008
1995-12-22T09:05:02 = Dec 1995
-0010-09-15T04:44:23 = Sept -10
π§ yMMMEEEEd (EEEE, d MMM y)
2008-02-05T18:30:30 = Tuesday, 5 Feb 2008
1995-12-22T09:05:02 = Friday, 22 Dec 1995
-0010-09-15T04:44:23 = Saturday, 15 Sept -10
π yMMMEd (E, d MMM, y)
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)
2008-02-05T18:30:30 = February 2008
1995-12-22T09:05:02 = December 1995
-0010-09-15T04:44:23 = September -10
π yMMMMEEEEd (EEEE, d MMMM y)
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
π¦ yMMMd (d MMM y)
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/M/y)
2008-02-05T18:30:30 = 5/2/2008
1995-12-22T09:05:02 = 22/12/1995
-0010-09-15T04:44:23 = 15/9/-10
π yQQQ (QQQ y)
2008-02-05T18:30:30 = Q1 2008
1995-12-22T09:05:02 = Q4 1995
-0010-09-15T04:44:23 = Q3 -10
π₯ yQQQQ (QQQQ y)
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)
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)
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
(again: -count-one and -count-other giving the exact same thing here β iconic twin behaviour, not a typo, that's just how this locale rolls β¨)
π§ Miscellaneous
two little facts about this locale, and honestly they're giving main character energy:
- Prefers 24 hour time? No
- Local first day of the week: 7 (Sunday)
π Strftime Patterns
these are the strftime-flavoured ones, same three test timestamps every time, observed behaviour only, no guessing π
β %c (%A %d %B %Y %I:%M:%S %p) β date time format
2008-02-05T18:30:30 = Tuesday 05 February 2008 06:30:30 pm
1995-12-22T09:05:02 = Friday 22 December 1995 09:05:02 am
-0010-09-15T04:44:23 = Saturday 15 September -10 04:44:23 am
π¦ %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 (%I:%M:%S %p %Z) β time format
2008-02-05T18:30:30 = 06:30:30 pm UTC
1995-12-22T09:05:02 = 09:05:02 am UTC
-0010-09-15T04:44:23 = 04:44:23 am UTC
heads up bestie: that%xline for-0010-09-15T04:44:23renders as15/09/10, and that's exactly what the page says β don't come for me, I'm just the messenger π
π SUPPORT
See DateTime::Locale.
and that's a wrap on the en_IN locale tour, bestie!! π this gorgeous little specimen came to you courtesy of perl v5.42.0, dated 2024-12-12 β go forth and format dates in Indian English like the icon you are π
ππΈ
π¦ 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