get time service return wrong time
Hi,
I want to get my current time using this code:
var currentdate = new Date();
var datetime = "Last Sync: " + currentdate.getDate() + "/" + (currentdate.getMonth()+1) + "/" + currentdate.getFullYear() + " @ " + currentdate.getHours() + ":" + currentdate.getMinutes() + ":" + currentdate.getSeconds();
var result = datetime;
but the result I got is not correct, The date is suitable but the hour, minute and second are wrong.


