Search found 3 matches
- Sat Nov 10, 2007 10:52 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date calculation
- Replies: 5
- Views: 1271
Thanks Chulett for quick reply. That routine looks more complicated. so if i modify the code as below to get the results in hours instead of no of days. does it give correct results in hours? (Iconv(Field(source.COMPLETED_DATE," ",1),"D-YMD[4,2,2]") - Iconv(Field(source.ENTERED_DATE," ",1),"D-YMD[4,...
- Sat Nov 10, 2007 10:50 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date calculation
- Replies: 5
- Views: 1271
Thanks Chulett for quick reply. That routine looks more complicated. so if i modify the code as below to get the results in hours instead of no of days. does it give correct results in hours? (Iconv(Field(source.COMPLETED_DATE," ",1),"D-YMD[4,2,2]") - Iconv(Field(source.ENTERED_DATE," ",1),"D-YMD[4,...
- Sat Nov 10, 2007 8:18 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date calculation
- Replies: 5
- Views: 1271
Date calculation
Hi I have two timestamps in the format yyyy-mm-dd hh24:mi:ss. I want to find the exact difference (sec level). I am doing below code, but is only giving me the difference in number of days not up to the HH:MM:SS level. Can someone help me to modify the code? code Iconv(Field(date1," ",1),"D-YMD[4,2,...