Difference between revisions of "Category:Time and Date Identifiers"

From Scriptwiki
Jump to: navigation, search
(added Weekday link)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
The following characters are recognized in the format parameter string.
 +
 +
'''''NAME'''''            '''''USAGE'''''  '''''EXAMPLE'''''
 +
Year            yy    99
 +
                yyyy  1999
 +
Month          m      1
 +
                mm    01
 +
                mmm    Jan
 +
                mmmm  January
 +
Day            d      1
 +
                dd    01
 +
                ddd    Mon
 +
                dddd  Monday
 +
Hours          h      5
 +
                hh    05
 +
                H      13
 +
                HH    13
 +
Minutes        n      1
 +
                nn    01
 +
Seconds        s      1
 +
                ss    01
 +
AM/PM          t      a/p
 +
                tt    am/pm
 +
                T      A/P
 +
                TT    AM/PM
 +
Ordinal        oo    st/nd/rd/th
 +
Timezone        z      +0
 +
                zz    +0000
 +
                zzz    +0000 GMT
 +
 +
 +
To get the name of the day of a specific date, take a look at [[Weekday|this script]].
 
[[Category:Identifiers]]
 
[[Category:Identifiers]]

Latest revision as of 21:39, 26 November 2005

The following characters are recognized in the format parameter string.

NAME            USAGE  EXAMPLE
Year            yy     99
                yyyy   1999
Month           m      1
                mm     01
                mmm    Jan
                mmmm   January
Day             d      1
                dd     01
                ddd    Mon
                dddd   Monday
Hours           h      5
                hh     05
                H      13
                HH     13
Minutes         n      1
                nn     01
Seconds         s      1
                ss     01
AM/PM           t      a/p
                tt     am/pm
                T      A/P
                TT     AM/PM
Ordinal         oo     st/nd/rd/th
Timezone        z      +0
                zz     +0000
                zzz    +0000 GMT


To get the name of the day of a specific date, take a look at this script.

Pages in category "Time and Date Identifiers"

The following 19 pages are in this category, out of 19 total.