Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Current time

Is there a way to get the user's current cell phone time?

Should I be using the javascript date/time functions to determine this?

— asked May 20th 2010 by David Mamber
  • iphone
  • time
0 Comments

1 Answer

  • Try javascript date functionality
    var now = new Date();
    now.getTime()

    You can find more info on date object here:
    http://www.w3schools.com/js/js_obj_date.asp

    — answered May 20th 2010 by Mike Robinson
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.