Aracılığıyla paylaş


DatePrototype.setUTCSeconds(Object, Double, Object) Yöntem

Tanım

değerinin DateObject saniye değerini, Eşgüdümlü Evrensel Saat (UTC) ile ifade edilen belirtilen saniye değerine ayarlar.

Bu API, ürün altyapısını destekler ve doğrudan kodunuzdan kullanıma yönelik değildir.

public:
 static double setUTCSeconds(System::Object ^ thisob, double dsec, System::Object ^ msec);
[Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setUTCSeconds)]
public static double setUTCSeconds (object thisob, double dsec, object msec);
[<Microsoft.JScript.JSFunction(Microsoft.JScript.JSFunctionAttributeEnum.HasThisObject, Microsoft.JScript.JSBuiltin.Date_setUTCSeconds)>]
static member setUTCSeconds : obj * double * obj -> double
Public Shared Function setUTCSeconds (thisob As Object, dsec As Double, msec As Object) As Double

Parametreler

thisob
Object

Bu yöntemin üzerinde işlem yaptığı nesne.

dsec
Double

için thisobayarlanacağı saniye değeri.

msec
Object

için thisobayarlanacağı milisaniye değeri.

Döndürülenler

Değer ayarlandıktan sonra değerinin utc olarak ifade edilen yeni değeri thisob .

Öznitelikler

Şunlara uygulanır

Ayrıca bkz.