iphone - Getting current time via Javascript -
a two-part question:
what best way current time javascript?
what resolution can assume across major platforms (including browser-capable pdas, iphone, etc.) -- seconds, milliseconds, 1/10th of second?
thanks!
var date = new date();.new date().gettime()return number of milliseconds since january 1 1970.- milliseconds. it's specified such in ecmascript spec.
Comments
Post a Comment