Circle V2 API Docs
    Preparing search index...
    • Render an instant in timeZone and name that zone, so a reader never has to guess which clock the time came off. The zone is omitted when Intl has no name for it, rather than leaving a trailing space.

      The single place that decides what a rendered document date looks like: formatDateForEvaluation and EMRDocumentBuilder.formatDate both go through here, so the two cannot drift.

      Takes the instant and the zone to show it in — resolving the value and choosing that zone are the caller's job, done by the time this is reached.

      Parameters

      • date: Date
      • timeZone: string
      • dateFormat: string = DEFAULT_DATE_FORMAT

      Returns string