Computer Science, asked by vinodmagar640, 1 month ago

3. Explain the function of block of the following: (a) call current time Now call response ​

Answers

Answered by aarosh783
0

Answer:

var currentdate = new Date();

var datetime = "Last Sync: " + currentdate.getDay() + "/" + currentdate.getMonth()  

+ "/" + currentdate.getFullYear() + " @ "  

+ currentdate.getHours() + ":"  

+ currentdate.getMinutes() + ":" + currentdate.getSeconds();

Explanation:

Similar questions