Udostępnij za pośrednictwem


URLConnection.Date Property

Definition

Returns the value of the date header field.

public virtual long Date { [Android.Runtime.Register("getDate", "()J", "GetGetDateHandler")] get; }
[<get: Android.Runtime.Register("getDate", "()J", "GetGetDateHandler")>]
member this.Date : int64

Property Value

the sending date of the resource that the URL references, or 0 if not known. The value returned is the number of milliseconds since January 1, 1970 GMT.

Attributes

Remarks

Returns the value of the date header field.

Java documentation for java.net.URLConnection.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.

Applies to