|
Posts: 15,080
Gender:  Male
Posts Per Day: 6.42
Reputation: 93.42%
Reputation Score: +298 / -21
Time Online: 37 days 1 hours 13 minutes
Location: Tallassee, AL
Age: 22
|
The "Advanced Time" options in the Member Center is based off of the php date function. Most date formats will work from the php version. Quick Reference | Format Char. | Description | Example returned values | | Day | | | | d | Day of the month, 2 digits with leading zeros | 01 to 31 | | d | Day of the month, 2 digits with leading zeros | 01 to 31 | | D | A textual representation of a day, three letters | Mon through Sun | | j | Day of the month without leading zeros | 1 to 31 | | l | A full textual representation of the day of the week | Sunday through Saturday | | N | ISO-8601 numeric representation of the day of the week | 1 (for Monday) through 7 (for Sunday) | | S | English ordinal suffix for the day of the month, 2 characters | st, nd, rd or th. | | E | English ordinal suffix for the day of the month, 2 characters, superscripted | st, nd, rd or th | | w | Numeric representation of the day of the week | 0 (for Sunday) through 6 (for Saturday) | | z | The day of the year (starting from 0) | 0 through 365 | | | | | | Month | | | | F | A full textual representation of a month, such as January or March | January through December | | m | Numeric representation of a month, with leading zeros | 01 through 12 | | M | A short textual representation of a month, three letters | Jan through Dec | | n | Numeric representation of a month, without leading zeros | 1 through 12 | | | | | | Year | | | | Y | A full numeric representation of a year, 4 digits | Examples: 1999 or 2003 | | y | A two digit representation of a year | Examples: 99 or 03 | | | | | | Time | | | | a | Lowercase Ante meridiem and Post meridiem | am or pm | | A | Uppercase Ante meridiem and Post meridiem | AM or PM | | g | 12-hour format of an hour without leading zeros | 1 through 12 | | G | 24-hour format of an hour without leading zeros | 0 through 23 | | h | 12-hour format of an hour with leading zeros | 01 through 12 | | H | 24-hour format of an hour with leading zeros | 00 through 23 | | i | Minutes with leading zeros | 00 to 59 | | s | Seconds, with leading zeros | 00 through 59 | Real-world Examples - Format: l dS of F Y h:i:s A
Yields: Monday 15th of August 2005 03:12:46 PM - Format l \t\h\e jS
Yields: Wednesday the 15th - Format F j, Y, g:i a
Yields: March 10, 2001, 5:16 pm - Format: m.d.y
Yields 03.10.01 - Format: j, n, Y
Yields 10, 3, 2001 - Format: Ymd
Yields 20010310 - Format: \I\t \i\s \t\h\e jS \d\a\y.
Yields It is the 10th day. - Format: D M j G:i:s Y
Yields Sat Mar 10 15:16:08 2001 - Format: H:i:s
Yields 17:16:17
One last note, if you don't want a character to be processed (such as the word "at") you will need to add a slash before that character (such as "\a\t"). Questions and comments are welcome here. |
| I do installs for $25 and upgrades for $20.Technical support is always free. Donate to E-Blah! My Websites: Revolution Reality (My Blog) | MinistryTalk.com | Portfolio"But you, O Lord, are a compassionate and gracious God, slow to anger, abounding in love and faithfulness." — Psalm 86:15 NIV  |
|
| Revision History (10 edits; 3 reasons shown) |
| Justin - March 4, 2008, 2:23am | | Justin - March 4, 2008, 2:20am | | Justin - December 16, 2007, 3:35pm | | |
|
 E-Blah Member 
Posts: 8
Gender:  Male
Posts Per Day: 0.01
Time Online: 2 hours 57 minutes
Location: The Netherlands
Age: 54
|
| Hi Justin, would be nice to have the same/similar options on the calender. For instance, in Europe we are not very used to am/pm (personally I never know when it is am or pm). I would very welcome at least a 24 hr clock option. Johannes |
| How can it be, as my own death is imminent That You, oh Lord, still love me (Drawn and Quartered, Tourniquet) |
|