Condition on time

Condition on time

Hi, I want to put a condition to hide the fields of a form if the currenttime is bigger than 5 O´clock, is it possible? Like a 

If ( zoho.currenttime >= 17:00:00)
{
      hide input.Name;
}


Thanks.