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);
static member FormatDate : Java.Util.Date -> string

Parameters

date
Date

Returns

String
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);
static member FormatDate : Java.Util.Date * string -> string

Parameters

date
Date
pattern
String

Returns

String
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