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 %x line for -0010-09-15T04:44:23 renders as 15/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