Function getDateInfo

  • Extracts basic parameters of a Date-object.

    Parameters

    • time: Date

      the Date object from which to extract the basic parameters.

    Returns {
        date: number;
        ms: number;
        y: number;
        z: number;
        zh: number;
        zm: number;
    }

    • date: number
    • ms: number
    • y: number
    • z: number
    • zh: number
    • zm: number