SecondsFromTime() Function in Transformer Stage in DataStage

SecondsFromTime function returns seconds portion of a time.
Input: time
Output: seconds (dfloat)
Examples. If mylink.mytime contains the time 22:30:22, then the two following functions are equivalent, and return the value 22.
SecondsFromTime(“22:30:22”)
SecondsFromTime(mylink.mytime)

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: