@webitel/api-services
    Preparing search index...

    Interface TypeDatetime

    Datetime type settings.

    enum Part { full = 0; // date & time date = 1; // date only ; YYYY-MM-DD time = 2; // time only ; HH:mm:ss[.pres] } Part part = 1; // part of: [ date &| time ] enum Stamp { s = 0; // seconds ms = 1; // [milli]seconds ; E+3 mc = 2; // [micro]seconds ; E+6 ns = 3; // [nano]seconds ; E+9 m = -1; // minutes h = -2; // hours } Stamp time = 2; // time precision string zone = 3; // ??? [ Europe/Kyiv | +03:00 ]

    interface TypeDatetime {
        epoch?: number;
        format?: string;
        zone?: string;
    }
    Index

    Properties

    Properties

    epoch?: number

    Epoch timestamp. If zero - UNIX epoch (1970-01-01 00:00:00) will be used.

    format?: string
    zone?: string

    Timezone associated. Default: UTC.