class DateHelper

Constants

DEFAULT_DATETIME_FORMAT

Methods

static string
convertFromTimezoneToUTC(string$value,DateTimeZone$timezone)

No description

static string
convertFromUTCToTimezone(string$value,DateTimeZone$timezone)

No description

static DateTimeZone
getCurrentDateTimeZone()

No description

static bool
isValidDateString(string$value)

No description

Details

at line11
staticstring convertFromTimezoneToUTC(string$value,DateTimeZone$timezone)

Parameters

string $value
DateTimeZone $timezone

Return Value

string

at line20
staticstring convertFromUTCToTimezone(string$value,DateTimeZone$timezone)

Parameters

string $value
DateTimeZone $timezone

Return Value

string

at line29
staticDateTimeZone getCurrentDateTimeZone()

Return Value

DateTimeZone

at line34
staticbool isValidDateString(string$value)

Parameters

string $value

Return Value

bool