---
title: "Timezone_Generic Library"
url: "https://maker.wiznet.io/daniel/projects/TimezoneGeneric-Library/"
markdown_url: "https://maker.wiznet.io/daniel/projects/TimezoneGeneric-Library/md"
type: "UCC: User Created Content"
author: "daniel"
author_url: "https://maker.wiznet.io/daniel/"
original_author: "daniel"
original_url: "https://github.com/khoih-prog/Timezone_Generic"
published: "2022-02-07"
language: "en"
likes: 0
views: 269
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Timezone_Generic Library

> Timezone_Generic Library

Original author: daniel (source: https://github.com/khoih-prog/Timezone_Generic)

## Documents and links

- [source](https://github.com/khoih-prog/Timezone_Generic) (code)

## Article

The?[**Timezone_Generic library**](https://github.com/khoih-prog/Timezone_Generic)?is designed to work in conjunction with the?[**Arduino Time library**](https://github.com/PaulStoffregen/Time), which must also be installed on your system. This documentation assumes some familiarity with the Time library.

The?[**Timezone_Generic library**](https://github.com/khoih-prog/Timezone_Generic)?implements two objects to facilitate time zone conversions:

- A?**TimeChangeRule**?object describes when local time changes to daylight (summer) time, or to standard time, for a particular locale.

- A?**Timezone**?object uses?**TimeChangeRule**s to perform conversions and related functions. It can also write its?**TimeChangeRule**s to or read them from EEPROM/DueFlashStorage/FlashStorage/LittleFS/SPIFFS. Multiple time zones can be represented by defining multiple?**Timezone**?objects.

---

Source: https://maker.wiznet.io/daniel/projects/TimezoneGeneric-Library/
