Ultrashock Forums > Flash > Flash Newbie
Time of day?

You are currently viewing our website as a guest which gives you limited access to forums, files and other resources.

Click here to join now for free, and start interacting with our members, download files and much more!

Click here if you are looking for our Flash files and other professional assets.
 
Post Reply | View first unread | Rate Thread Search this Thread | Thread Tools | Display Modes

#1
Bookmark and Share!
Time of day?
Old 2008-03-31

I am looking for code that could look up the time of day on the browser's computer, not the server. I'm trying to create an animation that changes based on the time of day. Any ideas?
postbit arrow 2 comments | 317 views postbit arrow Reply: with Quote   
Registered User
BSMH is offline
seperator
Posts: 197
2004-07-28
BSMH lives in United States
seperator

Ultrashock Member Comments:
Hansen's Avatar Hansen Hansen is offline Super Moderator Hansen lives in Sweden Creative Assets 2008-03-31 #2 Old  
getTime() should give you the time of the users computer, not the server where it's located.
Reply With Quote  
Anik's Avatar Anik Anik is offline Super Moderator Anik lives in Argentina 27 Creative Assets 2008-03-31 #3 Old  
take a look at the Date object.
Reply With Quote  
Thread Tools
Display Modes Rate This Thread
Rate This Thread: