This is a migrated thread and some comments may be shown as answers.

Access the clock

1 Answer 29 Views
Feedback & Suggestions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
hayden
Top achievements
Rank 1
hayden asked on 14 Sep 2012, 07:14 AM
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.

1 Answer, 1 is accepted

Sort by
0
sdobrev
Top achievements
Rank 1
answered on 14 Sep 2012, 02:45 PM
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.
Tags
Feedback & Suggestions
Asked by
hayden
Top achievements
Rank 1
Answers by
sdobrev
Top achievements
Rank 1
Share this question
or