Skip to content

IANA time zone database access for the Julia programming language

License

Notifications You must be signed in to change notification settings

JuliaTime/TimeZones.jl

Repository files navigation

TimeZones.jl

CI codecov Aqua QA
Stable Documentation Dev Documentation
code style blue

IANA time zone database access for the Julia programming language. TimeZones.jl extends the Date/DateTime support for Julia to include a new time zone aware TimeType: ZonedDateTime.

Features

  • A new time zone aware TimeType: ZonedDateTime
  • Support for all time zones in the IANA time zone database (also known as the tz/zoneinfo/Olson database)
  • ZonedDateTime-Period arithmetic similar to that of DateTime
  • Local system time zone information as a TimeZone
  • Current system time in any TimeZone
  • Support for reading the tzfile format
  • String parsing of ZonedDateTime using DateFormat

Installation

TimeZones.jl can be installed through the Julia package manager:

julia> Pkg.add("TimeZones")

For detailed installation instructions see the documentation linked above.