This topic describes the syntax and usage of the subHour function in Zoho Creator .
The subHour function returns a date-time value after subtracting the specified number of hours.
// this format is supported only in the free flow scripting mode of Script builder.
The subHour function syntax has the following arguments.
date-time - Required. The date-time value from which you are subtracting the specified number of hours. Date-Time should be a date-time field type or as results of toTime() function.
int - Required. The number of hours to be subtracted from the date-time value.