HoursFromTime() Function in Transformer Stage in DataStage

HoursFromTime Function returns 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: