SproutCMS

This is the code documentation for the SproutCMS project

file /sprout/Helpers/ColModifierDate.php

Namespace: Sprout\Helpers

View source


Classes

ColModifierDate

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().