EJSC.DateFormatter.format_string

See Also

 

Definition

 

string format_string = ""

 

Description

 

The following format options are available:

 

Format

Description

YYYY

Four (4) digit year (i.e. 2007)

YY

Two (2) digit year (i.e. 07)

MMMM

Full month name (i.e. January)

MMM

Short month name (i.e. Jan)

MM

Two (2) digit month of the year with leading zeros (i.e. 01)

M

Month of the year without leading zeros

DDDD

Full day of the week (i.e. Monday)

DDD

Short day of the week (i.e. Mon)

DD

Two (2) digit day of the month with leading zeros (i.e. 04)

D

Day of the month without leading zeros

HH

Hour of the day in 24-hour format with leading zeros

H

Hour of the day in 24-hour format without leading zeros

hh

Hour of the day in 12-hour format with leading zeros

h

Hour of the day in 12-hour format without leading zeros

NN

Minutes with leading zeros

N

Minutes without leading zeros

SS

Seconds with leading zeros

S

Seconds without leading zeros

ZZZ

Milliseconds (3 places) with leading zeros

ZZ

Milliseconds (2 places) with leading zeros

Z

Milliseconds without leading zeros

AA

AM/PM notation

A

A/P notation

aa

am/pm notation

a

a/p notation