ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » difference between timestamp

Post new topic  Reply to topic
 difference between timestamp « View previous topic :: View next topic » 
Author Message
firoj.badsa
PostPosted: Tue Dec 02, 2014 4:17 am    Post subject: difference between timestamp Reply with quote

Centurion

Joined: 16 Feb 2007
Posts: 104

Hello,

Could you please help on the topic.. I need to get the time difference between 2 timestamp in hours.

TIMESTAMP1: 20141202121209
TIMESTAMP2: 20150201092302

currently we are using ESQL and wanted a solution in esql and not in java.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Dec 02, 2014 6:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

so you want to calculate the difference between two timestamps and arrive at a value that represents this interval as an hour value?

Then the ESQL to write that is basic and straight forward.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » difference between timestamp
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.