7 EKİM 2011, Cuma
Javascript tarih 10 saniye Ekle nesne timeObject
Nasıl bir javascript tarih 10 saniye nesne timeObject ekleyebilirim. Böyle bir şey bence
var timeObject = new Date()
var seconds = timeObject.getSeconds() 10;
timeObject = timeObject seconds;
CEVAP
7 EKİM 2011, Cuma
De setSeconds bir yöntem var:
var t = new Date();
t.setSeconds(t.getSeconds() 10);
Listesi içindiğerDate fonksiyonlar, you should check out MDN
setSeconds doÄŸru saran iÅŸleyecektir:
var d;
d = new Date('2014-01-01 10:11:55');
alert(d.getMinutes() ':' d.getSeconds()); //11:55
d.setSeconds(d.getSeconds() 10);
alert(d.getMinutes() ':0' d.getSeconds()); //12:05
Bunu PaylaÅŸ:

Nasıl bir Tarih klon JavaScript için n...
Saat Tarih Javascript ekleme nesne?...
Javascript tarih her zaman bir gün kap...
EÄŸer anahtar kontrol JavaScript bir ne...
Burada JavaScript ile bir tarih biçiml...