hours

Get the ‘hours’ value from a date or datetime.

Parameters:

No. Type Comments
1 date, datetime or duration Value to extract hours from

Returns:

short(0,23) - A short value representing the hours.

Usages:

  • hours( d:date) : short
  • hours( d:datetime) : short