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 » IBM MQ Installation/Configuration Support » Configure the time in MQ

Post new topic  Reply to topic
 Configure the time in MQ « View previous topic :: View next topic » 
Author Message
Artemio
PostPosted: Wed Oct 22, 2003 7:19 am    Post subject: Configure the time in MQ Reply with quote

Novice

Joined: 11 Sep 2003
Posts: 21

How configure I the time of MQSeries, because is diferent the date when I execute the Unix command 'date' and the time an date when I get message with my client program
Back to top
View user's profile Send private message Send e-mail MSN Messenger
fcotait
PostPosted: Tue Oct 28, 2003 3:01 am    Post subject: Reply with quote

Acolyte

Joined: 28 Feb 2002
Posts: 63
Location: Sao Paulo - Brazil

Artemio,

I didn´t undestand very well what you need. Let´s try:

MQ always use the GMT timezone.

If your UNIX system is using a GMT +1 for example, the MQ time will be 1 hour different the UNIX local time.

This is apply a Windows system too (I know only Windows and Unix systems).

I don´t remeber if this can be modify.

Good luck
_________________
Filipe Cotait
IBM Certified System Administrator - WebSphere MQ
IBM Certified Specialist - MQSeries, WebSphere MQ Integrator
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Artemio
PostPosted: Tue Oct 28, 2003 3:29 pm    Post subject: Reply with quote

Novice

Joined: 11 Sep 2003
Posts: 21

Thanks, so I need to make a funcition to transform the time GMT timezone into my local time, or Do I have another option?
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Artemio
PostPosted: Tue Oct 28, 2003 3:35 pm    Post subject: Reply with quote

Novice

Joined: 11 Sep 2003
Posts: 21

Thanks, so I need to make a funcition to transform the time GMT timezone into my local time, or Do I have another option?

I need to know the time when the message arrive in a Manager Queue and I have a big difference between UNIX time and MQ time (+6 hours aprox., live in Mexico city)
Back to top
View user's profile Send private message Send e-mail MSN Messenger
jefflowrey
PostPosted: Tue Oct 28, 2003 5:24 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Artemio wrote:
Thanks, so I need to make a funcition to transform the time GMT timezone into my local time, or Do I have another option?
Your programming language should have a built-in function for converting gmttime to localtime - look at your standard libraries. I know that C and Java do. And I can't imagine you're using VisualBasic on a Unix System, but VisualBasic probably has one too.

Artemio wrote:
I need to know the time when the message arrive in a Manager Queue and I have a big difference between UNIX time and MQ time (+6 hours aprox., live in Mexico city)

+6 hours sounds very much like the time difference between GMT and Mexico City time.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Artemio
PostPosted: Tue Oct 28, 2003 6:26 pm    Post subject: Reply with quote

Novice

Joined: 11 Sep 2003
Posts: 21

In C What funcition is used????

thanks!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
jefflowrey
PostPosted: Wed Oct 29, 2003 4:54 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Artemio wrote:
In C What funcition is used????


Code:
man localtime

_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Artemio
PostPosted: Wed Oct 29, 2003 9:05 am    Post subject: Reply with quote

Novice

Joined: 11 Sep 2003
Posts: 21

JeffLowrey wrote:
Artemio wrote:
In C What funcition is used????


Code:
man localtime


The function is localtime_r(), thanks a lot!

Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Configure the time in MQ
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.