Access the clock

Thread is closed for posting
2 posts, 0 answers
  1. hayden
    hayden avatar
    16 posts
    Member since:
    Jul 2006

    Posted 14 Sep 2012 Link to this post

    I want to be able to access the clock on the device to know:
    - what day of the week it is
    - what time of the day it is, down to millisecs if possible - think of a stopwatch app.

    If possible, i'd like to be able to set a timer event, but that might be harder to do.
  2. sdobrev
    sdobrev avatar
    54 posts
    Member since:
    Sep 2012

    Posted 14 Sep 2012 Link to this post

    Hi hayden,

    You can look into this page that serves as a stopwatch. You can look into the source code using the view source functionality of your favourite browser. You can read more about the Date JavaScript object on W3 schools site here.

    Hope this helps.
Back to Top