Reply
Date Object question
Old 02-13-2006, 12:27 AM Date Object question
Experienced Talker

Posts: 32
Location: Indiana, USA
I'm having some trouble understanding the Date Object syntax. I understand the "get" & "set", but what is it that goes before the date object? In "dateObj.setTime()", what is it that you put in place of "dateObj"? Is it a variable of my choosing? Or are there certain keywords that need to be used in this instance? I don't know why I'm having so much trouble getting this into my little pea brain, but right now it's about as clear as mud.

Any and all help would be greatly appreciated.

__________________
They have computers, and they may have other weapons of mass destruction. - - Janet Reno
Smoking Man is offline
Reply With Quote
View Public Profile Visit Smoking Man's homepage!
 
When You Register, These Ads Go Away!
Old 02-13-2006, 09:17 AM Re: Date Object question
funkdaddu's Avatar
Web Design Snob

Posts: 636
You put a date object.

var myDate = new Date();

myDate.setTime(milliseconds);
funkdaddu is offline
Reply With Quote
View Public Profile Visit funkdaddu's homepage!
 
Reply     « Reply to Date Object question
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11782 seconds with 12 queries