Skip to main content

Time_Zone.new

Time_Zone.newhoursminutesseconds

Documentation

Obtains an instance of Time_Zone using an offset in hours, minutes and seconds from the UTC zone.

Arguments

  • hours: The timezone offset in hours from UTC, from -18 to +18.
  • minutes: The timezone offset in minutes from the nearest hour, from 0 to ±59. The sign must match that of the hours argument.
  • seconds: The timezone offset in seconds from the nearest minute, from 0 to ±59. The sign must match that of the minutes argument.

Examples

Get time zone 1 hour 1 minute and 50 seconds from UTC.

      from Standard.Base.Time.Time_Zone import Time_Zone

example_new = Time_Zone.new 1 1 50