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 » MQMD PutTime

Post new topic  Reply to topic
 MQMD PutTime « View previous topic :: View next topic » 
Author Message
superstar
PostPosted: Tue Sep 19, 2006 6:08 pm    Post subject: MQMD PutTime Reply with quote

Apprentice

Joined: 12 May 2004
Posts: 31

In my message flow when I get errors I access the MQMD.PutTime , save the time and send it to the support team as an XML field.

I see that the MQMD.PutDate / Time are in GMT. Is there a way to configure it to reflect it to the current time?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Sep 19, 2006 7:45 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20702
Location: LI,NY

As messages travel around the world, date time is in GMT for a good reason.
Nothing prevents you from using a tool (java for exemple) to display the information in local date time...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
tleichen
PostPosted: Wed Sep 20, 2006 11:35 am    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

fjb_saper wrote:
As messages travel around the world, date time is in GMT for a good reason.
Nothing prevents you from using a tool (java for exemple) to display the information in local date time...

Enjoy

Why is it that so many don't have a clue how to do this?
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Sep 20, 2006 11:48 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Most people live in a country with only one time zone.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
tleichen
PostPosted: Wed Sep 20, 2006 12:58 pm    Post subject: Reply with quote

Yatiri

Joined: 11 Apr 2005
Posts: 663
Location: Center of the USA

I hope you're joking.
_________________
IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Sep 20, 2006 1:00 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

tleichen wrote:
I hope you're joking.


China has only one time zone...
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 20, 2006 11:48 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

tleichen wrote:
I hope you're joking.


We in the UK only have one time zone!

And the same for majority of European countries AFAIK

AND we own GMT !!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Sep 21, 2006 12:41 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5850
Location: UK

But we are not on GMT in the UK now, we are on BST (GMT+1)....!

So the ball on the top of the Royal Observatory at Greenwich drops at 1pm local time.
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Sep 21, 2006 12:52 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Granted, but it's still one time zone and it's OUR ball.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
wschutz
PostPosted: Thu Sep 21, 2006 1:40 am    Post subject: Re: MQMD PutTime Reply with quote

Jedi Knight

Joined: 02 Jun 2005
Posts: 3316
Location: IBM (retired)

are we dropping the ball on the original question?
superstar wrote:
In my message flow when I get errors I access the MQMD.PutTime , save the time and send it to the support team as an XML field.

I see that the MQMD.PutDate / Time are in GMT. Is there a way to configure it to reflect it to the current time?
MQ will always use what the machine tells it is UCT (errr...GMT) ... you could lie to the machine about the TZ, but most people wouldn't support that idea...
_________________
-wayne
Back to top
View user's profile Send private message Send e-mail AIM Address
Vitor
PostPosted: Thu Sep 21, 2006 1:48 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

I certainly wouldn't support it! (And that has nothing to do with ball ownership )

Changing the TZ setting on the machine would require some serious impact analysis - you'd need to be certain what all the other software on the box was doing regarding timestamps.

It's best IMHO to stick with the original suggestion from fjb_saper - accept that the MQ timestamp is in GMT and convert it to local time before saving. Certainly has the least risk and gives you the most control.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » MQMD PutTime
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.