DateHelper
in package
Table of Contents
Methods
- getOffset() : mixed
- Retrieve the current timezone's offset
- updateLegacyFormat() : mixed
- Converts legacy date (strftime) format into the new (date) format
Methods
getOffset()
Retrieve the current timezone's offset
public
static getOffset([mixed $numberOnly = false ]) : mixed
Parameters
- $numberOnly : mixed = false
Tags
updateLegacyFormat()
Converts legacy date (strftime) format into the new (date) format
public
static updateLegacyFormat(mixed $format) : mixed
Parameters
- $format : mixed