Converts a MySQL date into something friendlier. Works for DATE, TIME, DATETIME AND [BIG]INT. The default output format is d/m/Y, but can be changed in the constructor. Format strings are anything supported by the PHP function date().
This is the code documentation for the SproutCMS project
Search documentation |
class ColModifierDateConverts a MySQL date into something friendlier. Works for DATE, TIME, DATETIME AND [BIG]INT. The default output format is d/m/Y, but can be changed in the constructor. Format strings are anything supported by the PHP function date().
Variables
Functions
public __constructvoid $ColModifierDate->__construct ( [ string $format ] ); This function does not have a description public modifystring $ColModifierDate->modify ( string $val , string $field_name ); Modify a column value This value will be html/csv/etc encoded afterwards. |
| Powered by Pelzini, version 0.9.0 |
Documentation is made available under the
GNU Free Documentation License 1.2. Generated: Wednesday, 5th August, 2026 at 03:31 pm |
|