How do I get the date device time using the phonegap?
How do I get the date device time using the phonegap?
It seems to me that a possible solution would be as follows:
var date = new Date();
var hour = date.getHours();
var min = date.getMinutes();
var seconds = date.getSeconds();