Scroll to navigation

DateTime::Locale::en_US_POSIX(3) User Contributed Perl Documentation DateTime::Locale::en_US_POSIX(3)

NAME

DateTime::Locale::en_US_POSIX - Locale data examples for the English United States Computer (en-US-POSIX) locale

DESCRIPTION

This pod file contains examples of the locale data available for the English United States Computer locale.

Days

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

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

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

Full

   2008-02-05T18:30:30 = Tuesday, February 5, 2008
   1995-12-22T09:05:02 = Friday, December 22, 1995
  -0010-09-15T04:44:23 = Saturday, September 15, -10

Long

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

Medium

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

Short

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

Time Formats

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

Full

   2008-02-05T18:30:30 = Tuesday, February 5, 2008 at 6:30:30 PM UTC
   1995-12-22T09:05:02 = Friday, December 22, 1995 at 9:05:02 AM UTC
  -0010-09-15T04:44:23 = Saturday, September 15, -10 at 4:44:23 AM UTC

Long

   2008-02-05T18:30:30 = February 5, 2008 at 6:30:30 PM UTC
   1995-12-22T09:05:02 = December 22, 1995 at 9:05:02 AM UTC
  -0010-09-15T04:44:23 = September 15, -10 at 4:44:23 AM UTC

Medium

   2008-02-05T18:30:30 = Feb 5, 2008, 6:30:30 PM
   1995-12-22T09:05:02 = Dec 22, 1995, 9:05:02 AM
  -0010-09-15T04:44:23 = Sep 15, -10, 4:44:23 AM

Short

   2008-02-05T18:30:30 = 2/5/08, 6:30 PM
   1995-12-22T09:05:02 = 12/22/95, 9:05 AM
  -0010-09-15T04:44:23 = 9/15/-10, 4:44 AM

Available Formats

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 (d E)

   2008-02-05T18:30:30 = 5 Tue
   1995-12-22T09:05:02 = 22 Fri
  -0010-09-15T04:44:23 = 15 Sat

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

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

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 = Sep -10 BC

GyMMMEd (E, MMM d, y G)

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

GyMMMd (MMM d, y G)

   2008-02-05T18:30:30 = Feb 5, 2008 AD
   1995-12-22T09:05:02 = Dec 22, 1995 AD
  -0010-09-15T04:44:23 = Sep 15, -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, M/d)

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

MMM (LLL)

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

MMMEd (E, MMM d)

   2008-02-05T18:30:30 = Tue, Feb 5
   1995-12-22T09:05:02 = Fri, Dec 22
  -0010-09-15T04:44:23 = Sat, Sep 15

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 (MMMM d)

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

MMMd (MMM d)

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

Md (M/d)

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

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

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

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

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

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

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

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

yMEd (E, M/d/y)

   2008-02-05T18:30:30 = Tue, 2/5/2008
   1995-12-22T09:05:02 = Fri, 12/22/1995
  -0010-09-15T04:44:23 = Sat, 9/15/-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

yMMMEd (E, MMM d, y)

   2008-02-05T18:30:30 = Tue, Feb 5, 2008
   1995-12-22T09:05:02 = Fri, Dec 22, 1995
  -0010-09-15T04:44:23 = Sat, Sep 15, -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

yMMMd (MMM d, y)

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

yMd (M/d/y)

   2008-02-05T18:30:30 = 2/5/2008
   1995-12-22T09:05:02 = 12/22/1995
  -0010-09-15T04:44:23 = 9/15/-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

Miscellaneous

Prefers 24 hour time?

No

Local first day of the week

7 (Sunday)

Strftime Patterns

%c (%a %d %b %Y %r %Z) - date time format

   2008-02-05T18:30:30 = Tue 05 Feb 2008 06:30:30 PM UTC
   1995-12-22T09:05:02 = Fri 22 Dec 1995 09:05:02 AM UTC
  -0010-09-15T04:44:23 = Sat 15 Sep -10 04:44:23 AM UTC

%x (%m/%d/%Y) - date format

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

%X (%r) - time format

   2008-02-05T18:30:30 = 06:30:30 PM
   1995-12-22T09:05:02 = 09:05:02 AM
  -0010-09-15T04:44:23 = 04:44:23 AM

SUPPORT

See DateTime::Locale.

2021-08-09 perl v5.32.1