Skip to content

Modern Tz Tzdata Version

Paul Squires edited this page Nov 11, 2026 · 1 revision

Home › Time Zones › Time Zones (std/tz) › tzdata.Version

tzdata.Version

Returns the release of the zone database std/tzdata puts in the program, such as 2026f.

Syntax

tzdata.Version( ) as ustring

Notes

  • Importing std/tzdata is all a program has to do: the database is registered with std/tz when the program starts.
  • Where the system has zone files of its own, they are read first. TimeZone.DataVersion says which one a program is using.

Examples

#import "std/tz"
#import "std/tzdata"
#import "std/chrono"
using tz
print tzdata.Version( )      '' 2026f

Library: Time Zones (std/tz)
Category: Time Zones
Documented under: std/tzdata

Clone this wiki locally