Represents a date column for Data API tables.

You may use the date function as a shorthand for creating a new DataAPIDate.

See the official DataStax documentation for more information.

Implements

Constructors

Properties

#date: string

Methods

  • Converts this DataAPIDate to a Date object

    If no base date/time is provided to use the time from, the time component is set to be the current time.

    Parameters

    Returns Date

    The Date object representing this DataAPIDate