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:
Member | Type | Description |
day |
int |
The day of month (1 to 31) for this date. |
month |
int |
The month index for this date, where 1 corresponds to January, 2 to
February, and so on. |
year |
int |
The year for this date. |
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-08-25 UTC.
[null,null,["Last updated 2025-08-25 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."]]