| category | OSS |
|---|---|
| package | OSS_Date |
| copyright | Copyright (c) 2007 - 2012, Open Source Solutions Limited, Dublin, Ireland |
| license | New BSD License |
dateSplit(string $string, int $format) : array
string
int
arraygetDateFormatKeys() : array
ie. returns the keys of self::$DATE_FORMATS
arraygetDateFormats() : array
I.e. returns self::$DATE_FORMATS
arraygetDatepickerFormat(int $code, int $default) : string | bool
intThe format code
intThe default value if $code does not exist
stringbool
getFormat(int $code, int $default) : string | bool
intThe format code
intThe default value if $code does not exist
stringbool
getPhpFormat(int $code, int $default) : string | bool
intThe format code
intThe default value if $code does not exist
stringbool
getTimestamp(string $string, int $format) : int
string
int
int$DATEPICKER_FORMATS : array
$DATE_FORMATS : array
$PHP_FORMATS : array
DF_AMERICAN
DF_COMPACT
DF_COMPUTER
DF_EUROPEAN
DF_REVERSE