Test for blank 'Time' field

Test for blank 'Time' field

How do I test for a blank time field in script?

The below doesn't seem to work, I've also tried the isEmpty() function, and == "" with no luck. It does work with date fields, so i would assume it would be the same?

If (time_field == null)
{
      time_empty = TRUE;
}

Thanks