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 » General IBM MQ Support » Change MQ Event's Date/Time

Post new topic  Reply to topic
 Change MQ Event's Date/Time « View previous topic :: View next topic » 
Author Message
mikeHT
PostPosted: Fri Jan 20, 2006 6:50 am    Post subject: Change MQ Event's Date/Time Reply with quote

Voyager

Joined: 01 Jul 2005
Posts: 82

Hi :
Is there a way to change the Put Date/Time in MQ Series to reflect the proper time zone. (Eg. I would like it to be EST)? Thanks
Reason Code : MQRC_CHANNEL_STARTED
Event type : CHANNEL EVENT
Event Put Date (GMT) : 2006/01/20
Event Put Time (GMT) : 09:05:34
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Fri Jan 20, 2006 7:00 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

you can not make mq to change it, mq will use gmt.

you can change it by your own by reading the message, changing and putting the message back (special authority is required) but this does not make sense to me.

what are you doing with the events? display then? creating alerts? then change the application that processes the event messages to convert gmt to est or whatever you need.
_________________
Regards, Butcher
Back to top
View user's profile Send private message
mikeHT
PostPosted: Fri Jan 20, 2006 9:13 am    Post subject: Reply with quote

Voyager

Joined: 01 Jul 2005
Posts: 82

Thanks for reply. Yes to send alerts using the IBM's getevent.c . Displaying GMT always need a mental calculation to convert to EST. Is there program around to do the conversion? Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri Jan 20, 2006 10:32 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I wonder if the C standard library has a routine to convert gmttime to localttime?
_________________
I am *not* the model of the modern major general.
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 » General IBM MQ Support » Change MQ Event's Date/Time
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.