HoursFromTime() Function in Transformer Stage in DataStage

HoursFromTime Function returns the hour portion of a time.
Input: time
Output: hours (int8)
Examples. If mylink1.time contains the time 23:30:00, then the following two functions are equivalent, and return the integer value 23.
HoursFromTime(mylink1.time)
HoursFromTime(“23:30:00”)

You can watch video tutorial of this function here:

Comments

comments

Leave a Reply