Category:Time and Date Identifiers

From Scriptwiki
Revision as of 20:39, 26 November 2005 by Doomie (talk | contribs) (added Weekday link)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.