JavaScript getSeconds Function

JavaScript getSeconds function is one of the Date Functions, which returns the total number of seconds on a given date. The following getSeconds function returns the number of seconds in the current date and time. <!DOCTYPE html> <html> <head> <title> JS </title> </head> <body> <h1> Example </h1> <script> var dt = Date(); document.write(“Date and Time … Read more