convertDatePhpToJui() public static method
Converts a date format pattern from [php date() function format][] to [jQuery UI date format][].
The conversion is limited to date patterns that do not use escaped characters. Patterns like jS \o\f F Y
which will result in a date like 1st of December 2014
may not be converted correctly because of the use of escaped characters.
Pattern constructs that are not supported by the jQuery UI format will be removed.
public static string convertDatePhpToJui ( $pattern ) | ||
---|---|---|
$pattern | string |
Date format pattern in php date()-function format. |
return | string |
The converted date format pattern. |
Please login to continue.