Cotal TypeScript packages
    Preparing search index...

    Function shownTime

    • A message's time as a person reads it: the local time of day, with the local date when it is not today. history and chat both show times this way; a JSON document or --stdio record keeps the machine-readable time.

      Parameters

      • at: string | number
      • now: Date = ...

      Returns string