AdsApp.GoogleAdsDate
Stay organized with collections
Save and categorize content based on your preferences.
A calendar date broken down into year, month, and day. Properties:
property day
Type: int
The day of month (1 to 31) for this date. property month
Type: int
The month index for this date, where 1 corresponds to January, 2 to
February, and so on. property year
Type: int
The year for this date.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[[["\u003cp\u003eRepresents a calendar date with year, month, and day.\u003c/p\u003e\n"],["\u003cp\u003eUses integer values to store the year, month (1 for January, 2 for February, etc.), and day of the month (1 to 31).\u003c/p\u003e\n"],["\u003cp\u003eProvides individual properties (\u003ccode\u003eyear\u003c/code\u003e, \u003ccode\u003emonth\u003c/code\u003e, \u003ccode\u003eday\u003c/code\u003e) to access each component of the date.\u003c/p\u003e\n"]]],[],null,["# AdsApp.GoogleAdsDate\n\nA calendar date broken down into year, month, and day.\n\n### Properties:\n\n| Member | Type | Description |\n|-----------------|-------|------------------------------------------------------------------------------------------|\n| [day](#day) | `int` | The day of month (1 to 31) for this date. |\n| [month](#month) | `int` | The month index for this date, where 1 corresponds to January, 2 to February, and so on. |\n| [year](#year) | `int` | The year for this date. |\n\nproperty day\n------------\n\nType: `int`\nThe day of month (1 to 31) for this date.\n\nproperty month\n--------------\n\nType: `int`\nThe month index for this date, where 1 corresponds to January, 2 to February, and so on.\n\nproperty year\n-------------\n\nType: `int`\nThe year for this date."]]