How to add datetime stamp + duration hours

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
srao
Premium Member
Premium Member
Posts: 41
Joined: Mon Mar 19, 2007 12:42 pm

How to add datetime stamp + duration hours

Post by srao »

How to add datetime stamp + duration hours in Transformer.

Eg : 6/17/2004 8:52:21 AM +14.76944
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

What have you tried so far?
-craig

"You can never have too many knives" -- Logan Nine Fingers
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

There is a routine somewhere in the archives that I wrote that adds hours, minutes, seconds, even milliseconds to timestamp. Search for it.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Here, I found it. Enjoy.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply