Hi,
I am trying to enter the world of creating an app for my sense. I would like to be able to press a button on the screen and have it display the time (when the button pressed) on the screen.
I would rather NOT use the clock tick thing because that just seems like a waste of resources when it will probably only do it once a day or once every couple of days.
So, press the button, display the time and save that time in the app to be checked back on later.
If someone can point me in a good direction, that would be fantastic.
Thanks
Answered! Go to the Best Answer.
Best AnswerYou could just use
new Date()However, clock.ontick events don't occur when the display is off, so it's not usually a huge issue.
Best Answer