/

HTML / CSS / JavaScript Tutorial

JavaScript Date method: getUTCSeconds()

[this page | pdf | back links]

The getUTCSeconds() method (when applied to a JavaScript date) returns the UTC seconds (0 to 59).

 

It has the following syntax (with no parameters):

 

date.getUTCSeconds()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Dates


Desktop view | Switch to Mobile