method
formatted_offset
v1.1.6 -
Show latest stable
- Class:
TimeZone
formatted_offset( colon=true )public
Returns the offset of this time zone as a formatted string, of the format "+HH:MM". If the offset is zero, this returns the empty string. If colon is false, a colon will not be inserted into the result.