Circle V2 API Docs
    Preparing search index...

    Function parseDayOrInstant

    • A bare YYYY-MM-DD, or exactly midnight in timeZone (how an EMR stores a date it recorded without a time), is a day; any other value is an instant. Null only when the value does not parse.

      Parameters

      • value: string | Date
      • timeZone: string

      Returns DayOrInstant | null