The gethour() function

Extracts the hour portion as a string from a dtl value.