---
title: timezone package
description: The timezone package defines functions for setting timezones on the location option in package universe.
url: https://docs.influxdata.com/flux/v0/stdlib/timezone/
estimated_tokens: 397
product: Flux
version: v0
---

# timezone package

-   Flux 0.134.0+
-   View InfluxDB support

The `timezone` package defines functions for setting timezones on the location option in package universe. Import the `timezone` package:

```js
import "timezone"
```

## Constants

```js
timezone.utc = {zone: "UTC", offset: 0h}
```

-   **timezone.utc** is the default location with a completely linear clock and no offset. It is used as the default for location-related options.

## Functions

-   [timezone.fixed()](/flux/v0/stdlib/timezone/fixed/)
-   [timezone.location()](/flux/v0/stdlib/timezone/location/)
