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 » converting current_timestamp to EST

Post new topic  Reply to topic
 converting current_timestamp to EST « View previous topic :: View next topic » 
Author Message
mquser1
PostPosted: Tue Apr 05, 2005 3:47 pm    Post subject: converting current_timestamp to EST Reply with quote

Novice

Joined: 03 Jun 2004
Posts: 23

Hi all,

I need to convert the current_timestamp obtained from broker to EST. Can someone please advise on how to do this. Please note that we do not know what timezone the broker server will be on. In other words, if we knew the broker would be on PST, we would have simply added an interval of 3 hrs to current_timestamp. However we would not be knowing this and thus cannot hardcode this fact.

I figured that we could use the local_timezone function to obtain the timezone offset on the broker. However this value changes depending on whether it is daylight savings or not. For example this function returns -8.00 on a broker (that is on PST) before daylight savings and -7.00 after daylight savings.

Can someone please advise? Thank you very much.
Back to top
View user's profile Send private message
EddieA
PostPosted: Tue Apr 05, 2005 4:11 pm    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Using the "Search" button above, took about 2 seconds to find this: http://www.mqseries.net/phpBB2/viewtopic.php?t=20675&highlight=timezone

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
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 » converting current_timestamp to EST
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.