Pick up date time device phonegap

Asked

Viewed 739 times

0

How do I get the device time date using phonegap?

1 answer

2


It seems to me that a possible solution would be the following:

var date = new Date();
var hour = date.getHours();
var min = date.getMinutes();
var seconds = date.getSeconds();

Browser other questions tagged

You are not signed in. Login or sign up in order to post.