Date.GetDate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Returns the day of the month represented by this Date
object.
[Android.Runtime.Register("getDate", "()I", "GetGetDateHandler")]
[System.Obsolete("deprecated")]
public virtual int GetDate ();
[<Android.Runtime.Register("getDate", "()I", "GetGetDateHandler")>]
[<System.Obsolete("deprecated")>]
abstract member GetDate : unit -> int
override this.GetDate : unit -> int
Returns
the day of the month represented by this date.
- Attributes
Remarks
Returns the day of the month represented by this Date
object. The value returned is between 1
and 31
representing the day of the month that contains or begins with the instant in time represented by this Date
object, as interpreted in the local time zone.
This member is deprecated. As of JDK version 1.1, replaced by Calendar.get(Calendar.DAY_OF_MONTH)
.
Java documentation for java.util.Date.getDate()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.