date and time

Monkey Targets Forums/Android/date and time

pantson(Posted 2012) [#1]
Hi

I've done a quick search but can't find anything..
Does anyone know how I can easily get date and time of device? (maybe local as well)


Uncle(Posted 2012) [#2]
Hello,

Check out Diddy as I think it has these function.

Andrew


Aman(Posted 2012) [#3]
Yes, I am using Diddy. It has the following functions:
getDayOfMonth()
getDayOfWeek()
getMonth()
getYear()
getHours()
getMinutes()
getSeconds()
getMilliSeconds()

But they only work with Android and html5. Other targets will return 0s.