Utility TypeScript @ 2.0.0-beta
    Preparing search index...

    Function timestamp

    • Formats a date in a predictable way.

      Meant for human-readable timestamps, not ISO or Unix, etc.

      Parameters

      • date: null | Date = null

        Optional. Date object to format. Defaults to now.

      • _args: Args_Input = {}

        Optional.

      Returns string

      Formatted date string.

      Date.toLocaleString() Used to format the string.

      0.1.0