Function Datetime

  • Calendar date and time type

    Parameters

    • OptionaltimeUnit: TimeUnit | "ms" | "ns" | "us"

      any of 'ms' | 'ns' | 'us'

    • timeZone: undefined | null | string = null

      timezone string as defined by Intl.DateTimeFormat America/New_York for example.

    Returns Datetime