Helpful
    Preparing search index...

    Function formatDateTime

    • Formats a given value.

      Parameters

      Returns string

      If value is null or undefined, then the empty string is returned. If value is a string, then the date is guessed from the string and reformatted to the format specified by options. Otherwise, the date or number specified by value is formatted to the culture, timezone, and format specified in the options.