x4js - v2.2.49
    Preparing search index...

    Function parseIntlDate

    • parse a date according to the given format

      Parameters

      • value: string

        string date to parse

      • fmts: string = _tr.global.date_input_formats

        format list - i18 tranlation by default allowed format specifiers: d: date (1 or 2 digits) D: date (2 digits) m: month (1 or 2 digits) M: month (2 digits) y: year (2 to 4 digits) Y: year (2 digits) YY: year (4 digits) h: hours (1 or 2 digits) H: hours (2 digits) i: minutes (1 or 2 digits) I: minutes (2 digits) s: seconds (1 or 2 digits) S: seconds (2 digits) : 1 or more spaces any other char: <0 or more spaces><0 or more spaces> each specifiers is separated from other by a pipe (|) more specific at first

      Returns Date

      'd/m/y|d m Y|dmy|y-m-d h:i:s|y-m-d|YY-M-D'