DateUtils.FormatDate Method

Definition

Overloads

FormatDate(Date)
FormatDate(Date, String)
[Android.Runtime.Register("formatDate", "(Ljava/util/Date;)Ljava/lang/String;", "")]
public static string? FormatDate (Java.Util.Date? date);
[<Android.Runtime.Register("formatDate", "(Ljava/util/Date;)Ljava/lang/String;", "")>]
static member FormatDate : Java.Util.Date -> string

Parameters

date
Date

Returns

Attributes

Remarks

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.

Applies to

[Android.Runtime.Register("formatDate", "(Ljava/util/Date;Ljava/lang/String;)Ljava/lang/String;", "")]
public static string? FormatDate (Java.Util.Date? date, string? pattern);
[<Android.Runtime.Register("formatDate", "(Ljava/util/Date;Ljava/lang/String;)Ljava/lang/String;", "")>]
static member FormatDate : Java.Util.Date * string -> string

Parameters

date
Date
pattern
String

Returns

Attributes

Remarks

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.

Applies to