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
array
getDateFormatKeys() : array
ie. returns the keys of self::$DATE_FORMATS
array
getDateFormats() : array
I.e. returns self::$DATE_FORMATS
array
getDatepickerFormat(int $code, int $default) : string | bool
int
The format code
int
The default value if $code does not exist
string
bool
getFormat(int $code, int $default) : string | bool
int
The format code
int
The default value if $code does not exist
string
bool
getPhpFormat(int $code, int $default) : string | bool
int
The format code
int
The default value if $code does not exist
string
bool
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