| [ Index ] |
PHP Cross Reference of Limb3 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 359 lines (11 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
lmbLocaleDate:: (6 methods):
localeStrftime()
parseTimeString()
explodeTimeStringByFormat()
_ensureLocale()
localStringToDate()
isLocalStringValid()
Class: lmbLocaleDate - X-Ref
class lmbLocaleDate.| localeStrftime($format, $locale=null) X-Ref |
| Formats the date in the given format according to locale settings, much like strftime(). Most strftime() attributes are supported. %a abbreviated weekday name (Sun, Mon, Tue) %A full weekday name (Sunday, Monday, Tuesday) %b abbreviated month name (Jan, Feb, Mar) %B full month name (January, February, March) %C century number (the year divided by 100 and truncated to an integer, range 00 to 99) %d day of month (range 00 to 31) %D same as "%m/%d/%y" %e day of month, single digit (range 0 to 31) %E number of days since unspecified epoch %H hour as decimal number (00 to 23) %I hour as decimal number on 12-hour clock (01 to 12) %j day of year (range 001 to 366) %m month as decimal number (range 01 to 12) %M minute as a decimal number (00 to 59) %n newline character (\n) %O dst-corrected timezone offset expressed as "+/-HH:MM" %o raw timezone offset expressed as "+/-HH:MM" %p either 'am' or 'pm' depending on the time %P either 'AM' or 'PM' depending on the time %r time in am/pm notation, same as "%I:%M:%S %p" %R time in 24-hour notation, same as "%H:%M" %S seconds as a decimal number (00 to 59) %t tab character (\t) %T current time, same as "%H:%M:%S" %w weekday as decimal (0 = Sunday) %U week number of current year, first sunday as first week %y year as decimal (range 00 to 99) %Y year as decimal including century (range 0000 to 9999) %% literal '%' |
| parseTimeString($locale, $time_string, $fmt) X-Ref |
| Tries to guess time values in time string $time_string formatted with $fmt Returns an array('hour','minute','second','month','day','year') At this moment only most common tags are supported. |
| explodeTimeStringByFormat($time_string, $fmt) X-Ref |
| No description |
| _ensureLocale(&$locale) X-Ref |
| No description |
| localStringToDate($locale, $string, $format = null) X-Ref |
| No description |
| isLocalStringValid($locale, $string, $format = null) X-Ref |
| No description |
| Generated: Thu Aug 28 04:51:15 2008 | Cross-referenced by PHPXref 0.7 |