DateUtils Class
The collection of date related utilities
Item Index
Methods
- addDisplay static
- display static
- readable static
- toDatabase static
Methods
addDisplay
(
Array
static
-
object
-
[key='created']
Add date display to multiple objects or collection of objects. Can be run recursively if there are nested objects or arrays.
Parameters:
Returns:
Array:
The updated objects collection
display
(
static
-
date
-
[format=null]
The global date formatting.