IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Difference between two timestamps


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Deepatinfy

New User


Joined: 06 Jun 2005
Posts: 7

PostPosted: Wed Jul 06, 2005 11:56 am
Reply with quote

Hi all,

How can i find the difference between two timestamps with out using the TIMESTAMPDIFF function?

TIA,
Deepesh
Back to top
View user's profile Send private message
kvivek

New User


Joined: 09 May 2005
Posts: 51
Location: Singapore

PostPosted: Wed Jul 13, 2005 9:58 pm
Reply with quote

Code:
SELECT TIMESTAMP(TS1) - TIMESTAMP(TS2) FROM SYSIBM.SYSDUMMY1

Regards,
Vivek
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts What is the difference between Taskty... Compuware & Other Tools 2
No new posts Difference between VALIDPROC and CHEC... DB2 3
No new posts Difference between CEE3250C and CEE3204S COBOL Programming 2
Search our Forums:

Back to Top