JavaScript Time functions enable you to get the Time parts separately. You can easily retrieve the hours, minutes and seconds from the Time value specified to the Date Object. By Default JavaScript Date Object and its Time functions return the different parts of the current Time of client computer on which web page is bieng accessed.
JavaScript Time Functions
1. getHours()
2. getMinutes()
3. getSeconds()
4. getMilliseconds()
5. getTimezoneOffset()