Article View: borland.public.jbuilder.java.language
Article #7769Adding to time
From: hogar
Date: Thu, 24 May 2001 14:40
Date: Thu, 24 May 2001 14:40
10 lines
1104 bytes
1104 bytes
This should be simple but I am new to javascript and can't find anything on adding to time. All I want to do is get the current system time and add 1 hour to it. now.setTime(now.getTime() + 1:00:00); return now; Is this close? Is this the correct format the time? Thanks
Technical Details
Message-ID:
<3b0d1e01_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,ce0cd4a71832c80c,start X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-05-24 07:46:11 PST From: "hogar" <hogar@crashcom.com> Newsgroups: borland.public.jbuilder.java.language Subject: Adding to time Date: Thu, 24 May 2001 09:40:31 -0500 Lines: 12 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 NNTP-Posting-Host: 199.181.174.158 Message-ID: <3b0d1e01_1@dnews> X-Trace: dnews 990715393 199.181.174.158 (24 May 2001 07:43:13 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews