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 » How to change the default timezone in message broker v6.1

Post new topic  Reply to topic
 How to change the default timezone in message broker v6.1 « View previous topic :: View next topic » 
Author Message
sharadagarwal16
PostPosted: Thu Feb 25, 2010 11:35 pm    Post subject: How to change the default timezone in message broker v6.1 Reply with quote

Novice

Joined: 04 Jun 2009
Posts: 13

I need to check the timestamp of the files from the mqsiarchive directory. But it adds the timestamp based on UTC(GMT). I need the local timezone there. So is there anyway to change this?

Any help is appreciated...

Thanks
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Feb 25, 2010 11:50 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

You might like to take a look at this post

http://www.mqseries.net/phpBB2/viewtopic.php?t=52639

I posted some code that might help you.
As one reply there says, if you are using V7 then this shouldn't be a problem.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Feb 26, 2010 4:27 am    Post subject: Re: How to change the default timezone in message broker v6. Reply with quote

Grand High Poobah

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

sharadagarwal16 wrote:
I need to check the timestamp of the files from the mqsiarchive directory. But it adds the timestamp based on UTC(GMT). I need the local timezone there. So is there anyway to change this?

Any help is appreciated...

Thanks

Why would you want to? Local time is just for reading convenience. GMT time is just as accurate and has the advantage of not being plagued by those pesky little changes such as DST, especially when they occur at different time and date across the globe. And avoid you having to log 2 events an hour apart at the same time because you just moved from DST back to STD, or logging two events an hour apart when they in fact occurred mere minutes apart....

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » How to change the default timezone in message broker v6.1
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.