Timezone
in package
Table of Contents
- detectSystemTimezone() : string|false
- get() : string
- init() : void
- parseOffset() : string|false
Methods
detectSystemTimezone()
public
static detectSystemTimezone() : string|false
Return values
string|false —get()
public
static get() : string
Return values
string —init()
public
static init() : void
Return values
void —parseOffset()
private
static parseOffset(string $offset) : string|false
Parameters
- $offset : string
-
In the format of +09:00, +02:00, -04:00 etc.