Método JavaScript Gethours ()

const d = new Date();
d.getHours();
naly moslih