Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: edit

...

Panel
titleCode Examples
Code Block
languagepy
titleCode Snippet
# This example will givegives the raw timezone offset (ignoring Daylight Saving Time) for the computers current time zone.

print system.date.getTimezoneRawOffset() # returns -8.0 (if you are in the Pacific time zone)

...