Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:
A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).
Day of the date. Must be from 1 to 31 and valid for the year and month. or 0 to specify a year by itself or a year and month where the day isn't significant
month
month?:number;
Month of the date. Must be from 1 to 12, or 0 to specify a year without a monthi and day.
year
year?:number;
Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Interface GoogleDate (1.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.10.0 (latest)](/nodejs/docs/reference/vertexai/latest/vertexai/googledate)\n- [1.9.0](/nodejs/docs/reference/vertexai/1.9.0/vertexai/googledate)\n- [1.8.1](/nodejs/docs/reference/vertexai/1.8.1/vertexai/googledate)\n- [1.7.0](/nodejs/docs/reference/vertexai/1.7.0/vertexai/googledate)\n- [1.6.0](/nodejs/docs/reference/vertexai/1.6.0/vertexai/googledate)\n- [1.5.0](/nodejs/docs/reference/vertexai/1.5.0/vertexai/googledate)\n- [1.4.1](/nodejs/docs/reference/vertexai/1.4.1/vertexai/googledate)\n- [1.3.1](/nodejs/docs/reference/vertexai/1.3.1/vertexai/googledate)\n- [1.2.0](/nodejs/docs/reference/vertexai/1.2.0/vertexai/googledate)\n- [1.1.0](/nodejs/docs/reference/vertexai/1.1.0/vertexai/googledate)\n- [1.0.0](/nodejs/docs/reference/vertexai/1.0.0/vertexai/googledate)\n- [0.5.0](/nodejs/docs/reference/vertexai/0.5.0/vertexai/googledate)\n- [0.4.0](/nodejs/docs/reference/vertexai/0.4.0/vertexai/googledate)\n- [0.3.1](/nodejs/docs/reference/vertexai/0.3.1/vertexai/googledate)\n- [0.2.1](/nodejs/docs/reference/vertexai/0.2.1/vertexai/googledate) \nRepresents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following:\n\nA full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).\n\nPackage\n-------\n\n[@google-cloud/vertexai](../overview.html)\n\nProperties\n----------\n\n### day\n\n day?: number;\n\nDay of the date. Must be from 1 to 31 and valid for the year and month. or 0 to specify a year by itself or a year and month where the day isn't significant\n\n### month\n\n month?: number;\n\nMonth of the date. Must be from 1 to 12, or 0 to specify a year without a monthi and day.\n\n### year\n\n year?: number;\n\nYear of the date. Must be from 1 to 9999, or 0 to specify a date without a year."]]