You are currently viewing the new Beta Editor Docs.
Switch to the Classic Editor Docs
You are currently viewing the Classic Editor Docs.
Switch to the Beta Editor Docs

anvil.tz Module

Globals

UTC

Classes

tzlocal

Use the local timezone of the browser


Base class: anvil.tz.tzoffset

Constructor

tzlocal()

tzoffset

Create a timezone with a specific offset. Use an offset in seconds, minutes or hours

Constructor

tzoffset([seconds], [minutes], [hours])

    tzutc

    Create a timezone set to utc


    Base class: anvil.tz.tzoffset

    Constructor

    tzutc()

    Globals

    UTC

    An object representing the UTC timezone



    anvil.tz