Takes a mysql DATETIME value (will probably also work with a TIME or DATE value) and formats it according to the format codes specified by the PHP date() function. The format is optional, if omittted, uses 'd/m/Y g:i a' = '7/11/2010 5:27 pm'
This is the code documentation for the SproutCMS project
Search documentation |
function formatMysqlDatetime()Takes a mysql DATETIME value (will probably also work with a TIME or DATE value) and formats it according to the format codes specified by the PHP date() function. The format is optional, if omittted, uses 'd/m/Y g:i a' = '7/11/2010 5:27 pm'
Usageunknown Sprout::formatMysqlDatetime ( mixed $date [, mixed $format ] ); Arguments
|
Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Monday, 3rd April, 2023 at 02:59 pm |