Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Date

import type { Date } from "https://googleapis.deno.dev/v1/cloudsearch:v1.ts";

Represents a whole calendar date, for example a date of birth. The time of day and time zone are either specified elsewhere or are not significant. The date is relative to the Proleptic Gregorian Calendar. The date must be a valid calendar date between the year 1 and 9999.

interface Date {
day?: number;
month?: number;
year?: number;
}

§Properties

§
day?: number
[src]

Day of month. Must be from 1 to 31 and valid for the year and month.

§
month?: number
[src]

Month of date. Must be from 1 to 12.

§
year?: number
[src]

Year of date. Must be from 1 to 9999.