current date and time of device

current date and time of device

Hi!!!!!

I need a object or method to get the time and the date of the native device ?????

Then I need a object and method to set the screensaver of the native device???

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

See this for standard JavaScript date/time function: http://stackoverflow.com/questions/3830244/get-current-date-time-in-seconds -- your date/time is going to come from the native device, since the webview you're running in is on the native device.

Setting the screensaver would require a Cordova plugin, which we do not yet support. We will in a future edition of the product.

Login to leave a comment.