单项选择题

以下哪个JavaScript方法用于获取当前时间的小时?()

A.Date.getHours()
B.Date.getMinutes()
C.Date.getMonth()
D.Date.getDate()