• import { getTimezone } from '@src/hylo-components/utils/usefull/usefull';

    Returns the timezone of the local machine at winter (e.g. '+01:00'). You can submit a reference date which will be used to get the timezone. To get the timezone of a summer time submit a date like ... new Date(2000, 6, 1).

    Parameters

    • Optional reference: Date

      a reference Date object

    • Optional no_colon: boolean

      removes the colon from the output (e.g. '+0100')

    Returns string

Generated using TypeDoc