Starboard Module Reference: time_zone.h
Stay organized with collections
Save and categorize content based on your preferences.
Provides access to the system time zone information.
Typedefs
SbTimeZone
The number of minutes west of the Greenwich Prime Meridian, NOT including
Daylight Savings Time adjustments.
For example: America/Los_Angeles is 480 minutes (28800 seconds, 8 hours).
Definition
typedef int SbTimeZone
Functions
SbTimeZoneGetName
Gets a string representation of the current timezone in IANA format. Names typically
follow the AREA/LOCATION format, where AREA is a continent or ocean, and
LOCATION is a specific location within that area (for example, 'Africa/Cairo',
'America/New_York', or 'Pacific/Honolulu').
Declaration
const char * SbTimeZoneGetName()
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-30 UTC."],[],[]]