DateTime.getTimezoneAbbreviation

Determines the time zone abbreviation to be used at the time and in the time zone of @datetime.

For example, in Toronto this is currently "EST" during the winter months and "EDT" during the summer months when daylight savings time is in effect.

class DateTime
string
getTimezoneAbbreviation
()

Return Value

Type: string

the time zone abbreviation. The returned string is owned by the #GDateTime and it should not be modified or freed

Meta

Since

2.26