You are currently viewing the new Anvil Editor Docs.
Switch to the Classic Editor Docs
You are currently viewing the Classic Editor Docs.
Switch to the new Anvil 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



    Do you still have questions?

    Our Community Forum is full of helpful information and Anvil experts.


    anvil.tz