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 » CURRENT_GMTTIMESTAMP

Post new topic  Reply to topic
 CURRENT_GMTTIMESTAMP « View previous topic :: View next topic » 
Author Message
AkankshA
PostPosted: Tue Aug 29, 2006 5:28 am    Post subject: CURRENT_GMTTIMESTAMP Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

Hi,

CURRENT_GMTTIMESTAMP is also returning local time.... is there any setting i need to do??
Back to top
View user's profile Send private message Visit poster's website
AkankshA
PostPosted: Tue Aug 29, 2006 5:39 am    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

I am working on v6

LOCAL_TIMEZONE is not reflecting day light saving change.. its returning me 330 minute always...
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Tue Aug 29, 2006 6:56 pm    Post subject: Reply with quote

Grand High Poobah

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

There is a checkbox on the message set asking you if you want to use DST ...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
AkankshA
PostPosted: Tue Aug 29, 2006 9:41 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

I tried checking that box... but no luck

Actually my broker is in india and i want to use GMT for my processings...
i even tried setting my broker's local time as GMT but of no luck

i do not want to do the conversion in eSQL (tedious job )
is there any other way out for me....
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Wed Aug 30, 2006 2:57 pm    Post subject: Re: CURRENT_GMTTIMESTAMP Reply with quote

Grand High Poobah

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

Akanksha wrote:
Hi,

CURRENT_GMTTIMESTAMP is also returning local time.... is there any setting i need to do??


Check the box for the correct date and time.

use mqsiservice -t ?

This should be returning you something like depending on format when you cast to string
example for US EDT
2006-08-30T18:56:00.000000-04:00

It means that the date time is local but the offset allows you to get back to GMT:
GMT = local - offset. or in this case
2006-08-30T22:56:00.000000-00:00

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
AkankshA
PostPosted: Wed Aug 30, 2006 10:32 pm    Post subject: [solved] GMTTIMESTAMP Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

hi

my problem is solved... actually i was declaring it as character instead of timestamp...


d only issue is broker takes the time zone from d machine at the time i issue mqsistart and cant be chaged later


Anyways
Thanks a lot for your help
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » CURRENT_GMTTIMESTAMP
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.