DateTim...Latn_IN(3)

🌸 NAME 🌸

okay so bestie, meet DateTime::Locale::hi_Latn_IN β€” that's the whole vibe right there πŸ’… this page is the User Contributed Perl Documentation for the Hindi India Latin locale, aka hi-Latn-IN πŸŽ€ (yes, the module name gets squished to DateTim...Latn_IN in the header because terminals are dramatic, but we know what it really is ✨)


πŸ¦‹ DESCRIPTION πŸ¦‹

lowkey this pod file is just a big flex: it's full of examples of all the locale data you get for the Hindi India Latin locale 🌈 think of it as a show-and-tell, not a spec. every chunk below shows you what the data actually looks like when it renders.

🌼 Days

okay first up, the days of the week β€” and yes they come in two flavors: format (when a date is being formatted) and stand-alone (when the day is just chillin' on its own) 🫢

Wide (format)

Somwaar
Mangalwaar
Budhwaar
Guruwaar
Shukrawaar
Shaniwaar
Raviwaar

Abbreviated (format)

Som
Mangal
Budh
Guru
Shukra
Shani
Ravi

Narrow (format)

So
Ma
Bu
Gu
Sh
Sha
Ra

Wide (stand-alone)

Somwaar
Mangalwaar
Budhwaar
Guruwaar
Shukrawaar
Shaniwaar
Raviwaar

Abbreviated (stand-alone)

Som
Mangal
Budh
Guru
Shukra
Shani
Ravi

Narrow (stand-alone)

So
Ma
Bu
Gu
Sh
Sha
Ra

🌷 Months

the months, same deal β€” wide/abbreviated/narrow, format and stand-alone. keep an eye out, because the stand-alone abbreviated list is not a carbon copy of the format one (more on that below, iykyk πŸ‘€)

Wide (format)

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

Abbreviated (format)

Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
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
Sep
Oct
Nov
Dec
⚠️ actual detail, not a typo fix on my part: in the stand-alone abbreviated list, September is Sept (four letters, she's extra πŸ’…) while in the format abbreviated list it's Sep. both are literally what's in the data. do not "correct" them, bestie, they're both correct 😭

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

Wide (format)

Before Christ
Anno Domini

Abbreviated (format)

BC
AD

Narrow (format)

B
A

πŸ’– Date Formats

these are the four date styles, each shown with three sample timestamps so you can see the glow-up from Full all the way down to Short ✨

Full

2008-02-05T18:30:30 = Mangalwaar, 5 February 2008
1995-12-22T09:05:02 = Shukrawaar, 22 December 1995
-0010-09-15T04:44:23 = Shaniwaar, 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 = 05 Feb, 2008
1995-12-22T09:05:02 = 22 Dec, 1995
-0010-09-15T04:44:23 = 15 Sep, -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

same four styles, but clock-only ⏰ Full and Long both tack on UTC (she's got main character energy and a timezone), Medium and Short keep it local and cute.

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 glued together, and honestly? it ate πŸ”₯ notice Medium and Short don't even bother with a comma between the date and the time β€” that's just how it is, no cap.

Full

2008-02-05T18:30:30 = Mangalwaar, 5 February 2008, 6:30:30 PM UTC
1995-12-22T09:05:02 = Shukrawaar, 22 December 1995, 9:05:02 AM UTC
-0010-09-15T04:44:23 = Shaniwaar, 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 = 05 Feb, 2008 6:30:30 PM
1995-12-22T09:05:02 = 22 Dec, 1995 9:05:02 AM
-0010-09-15T04:44:23 = 15 Sep, -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 β€” every named format this locale ships, with its pattern in parentheses and its three sample outputs. grab a snack, there's a lot and they're all iconic πŸ’œ

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 = Mangal
1995-12-22T09:05:02 = Shukra
-0010-09-15T04:44:23 = Shani

EBhm (E, h:mm B)

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

EBhms (E, h:mm:ss B)

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

EHm (E, HH:mm)

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

EHms (E, HH:mm:ss)

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

Ed (E d)

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

Ehm (E, h:mm a)

2008-02-05T18:30:30 = Mangal, 6:30 PM
1995-12-22T09:05:02 = Shukra, 9:05 AM
-0010-09-15T04:44:23 = Shani, 4:44 AM

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

2008-02-05T18:30:30 = Mangal, 6:30 PM
1995-12-22T09:05:02 = Shukra, 9:05 AM
-0010-09-15T04:44:23 = Shani, 4:44 AM

Ehms (E, h:mm:ss a)

2008-02-05T18:30:30 = Mangal, 6:30:30 PM
1995-12-22T09:05:02 = Shukra, 9:05:02 AM
-0010-09-15T04:44:23 = Shani, 4:44:23 AM

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

2008-02-05T18:30:30 = Mangal, 6:30:30 PM
1995-12-22T09:05:02 = Shukra, 9:05:02 AM
-0010-09-15T04:44:23 = Shani, 4:44:23 AM

Gy (G y)

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

GyMMM (G y MMM)

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

GyMMMEEEEd (G y, dd MMMM, E)

2008-02-05T18:30:30 = AD 2008, 05 February, Mangal
1995-12-22T09:05:02 = AD 1995, 22 December, Shukra
-0010-09-15T04:44:23 = BC -10, 15 September, Shani

GyMMMEd (G y, dd MMM, E)

2008-02-05T18:30:30 = AD 2008, 05 Feb, Mangal
1995-12-22T09:05:02 = AD 1995, 22 Dec, Shukra
-0010-09-15T04:44:23 = BC -10, 15 Sep, Shani

GyMMMd (G y, d MMM)

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

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 = Mangal, 05/02
1995-12-22T09:05:02 = Shukra, 22/12
-0010-09-15T04:44:23 = Shani, 15/09

MMM (LLL)

2008-02-05T18:30:30 = Feb
1995-12-22T09:05:02 = Dec
-0010-09-15T04:44:23 = Sept
πŸ’€ reminder from the Months section: Sept here is real, because this one pulls from the stand-alone list. she's just built different.

MMMEEEEd (EEEE, d MMM)

2008-02-05T18:30:30 = Mangalwaar, 5 Feb
1995-12-22T09:05:02 = Shukrawaar, 22 Dec
-0010-09-15T04:44:23 = Shaniwaar, 15 Sep

MMMEd (E, d MMM)

2008-02-05T18:30:30 = Mangal, 5 Feb
1995-12-22T09:05:02 = Shukra, 22 Dec
-0010-09-15T04:44:23 = Shani, 15 Sep

MMMMEEEEd (EEEE, d MMMM)

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

MMMMW-count-one (MMMM 'kaa' 'week' W)

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

MMMMW-count-other (MMMM 'kaa' 'week' W)

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

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 Sep

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)

okay we're at the edge of the page bestie 🫢 this one's samples roll over into part 2 β€” see you there, don't leave me hanging πŸ’–

okay so we’re picking up mid-format-list β€” no biggie. Finishing hmsv (h:mm:ss a v) first, bestie:

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)

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 = Mangal, 5/2/2008
1995-12-22T09:05:02 = Shukra, 22/12/1995
-0010-09-15T04:44:23 = Shani, 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 = Sep -10

🧚 yMMMEEEEd (EEEE, d MMM y)

2008-02-05T18:30:30 = Mangalwaar, 5 Feb 2008
1995-12-22T09:05:02 = Shukrawaar, 22 Dec 1995
-0010-09-15T04:44:23 = Shaniwaar, 15 Sep -10

πŸ‘‘ yMMMEd (E, d MMM, y)

2008-02-05T18:30:30 = Mangal, 5 Feb, 2008
1995-12-22T09:05:02 = Shukra, 22 Dec, 1995
-0010-09-15T04:44:23 = Shani, 15 Sep, -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 = Mangalwaar, 5 February 2008
1995-12-22T09:05:02 = Shukrawaar, 22 December 1995
-0010-09-15T04:44:23 = Shaniwaar, 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 Sep, -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 (Y 'kaa' 'week' w)

2008-02-05T18:30:30 = 2008 kaa week 6
1995-12-22T09:05:02 = 1995 kaa week 51
-0010-09-15T04:44:23 = -10 kaa week 37

πŸŽ€ yw-count-other (Y 'kaa' 'week' w)

2008-02-05T18:30:30 = 2008 kaa week 6
1995-12-22T09:05:02 = 1995 kaa week 51
-0010-09-15T04:44:23 = -10 kaa week 37

🌈 MISCELLANEOUS 🌈

  • Prefers 24 hour time? No
  • Local first day of the week 7 (Raviwaar)

✨ STRFTIME PATTERNS ✨

⭐ %c (%A %d %B %Y %I:%M:%S %p) β€” date time format

2008-02-05T18:30:30 = Mangalwaar 05 February 2008 06:30:30 PM
1995-12-22T09:05:02 = Shukrawaar 22 December 1995 09:05:02 AM
-0010-09-15T04:44:23 = Shaniwaar 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

πŸ’– SUPPORT πŸ’–

See DateTime::Locale.


This manual page is from perl v5.42.0, dated 2024-12-12, and its footer name is DateTim...Latn_IN(3) β€” that’s the whole citation, periodt. πŸ’…βœ¨

πŸ“¦ where this page comes from