contents index previous next
Date getHours()
syntax:
date.getHours()
return:
number - an hour in a day.
description:
This method returns the hour, as a number from 0 to 23, of a Date object. Midnight is 0, and 11 p.m. is 23.
Date getMilliseconds()