Documentation

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
since
1.0.0
access

public

updateLegacyFormat()

Converts legacy date (strftime) format into the new (date) format

public static updateLegacyFormat(mixed $format) : mixed
Parameters
$format : mixed
Tags
since
1.0.0
access

public


        
On this page

Search results