blob: ee27d834d0f51847de1748756de572c487e82f3a [file] [view]
---
layout: doc
title: "Starboard Module Reference: time_zone.h"
---
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: PST/PDT is 480 minutes (28800 seconds, 8 hours).
#### Definition ####
```
typedef int SbTimeZone
```
## Functions ##
### SbTimeZoneGetCurrent ###
Gets the system's current SbTimeZone in minutes.
#### Declaration ####
```
SbTimeZone SbTimeZoneGetCurrent()
```
### SbTimeZoneGetDstName ###
Gets the three-letter code of the current timezone in Daylight Savings Time,
regardless of current DST status. (e.g. "PDT")
#### Declaration ####
```
const char* SbTimeZoneGetDstName()
```
### SbTimeZoneGetName ###
Gets the three-letter code of the current timezone in standard time, regardless
of current Daylight Savings Time status. (e.g. "PST")
#### Declaration ####
```
const char* SbTimeZoneGetName()
```