Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
To get difference of 2 timestamps

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
Author Message
ArchanaKalwani

New User


Joined: 11 Aug 2008
Posts: 2
Location: India

PostPosted: Thu Aug 21, 2008 6:41 pm    Post subject: To get difference of 2 timestamps
Reply with quote

Hi,

I need to take difference of 2 timestamps fields in DB2.

I have heard of something like TIMEDIFF which can be used.

Can anyone please share some documentation detailing the syntax, usage etc. for the same.

Any other option to get time difference will also be helpful.

Thanks,
Archana
Back to top
View user's profile Send private message
References
rpuhlman

Active User


Joined: 11 Jun 2007
Posts: 75
Location: Columbus, Ohio

PostPosted: Thu Aug 21, 2008 10:13 pm    Post subject:
Reply with quote

Archana,

Please refer to this link:

http://ibmmainframes.com/post-89441.html

Rick
Back to top
View user's profile Send private message
ArchanaKalwani

New User


Joined: 11 Aug 2008
Posts: 2
Location: India

PostPosted: Fri Aug 22, 2008 12:47 pm    Post subject:
Reply with quote

Thanks a lot...
It was pretty simple... icon_smile.gif
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1