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 » FileInput node, LastModified time, timezone

Post new topic  Reply to topic
 FileInput node, LastModified time, timezone « View previous topic :: View next topic » 
Author Message
sudaltsov
PostPosted: Wed Aug 22, 2012 7:41 am    Post subject: FileInput node, LastModified time, timezone Reply with quote

Voyager

Joined: 02 May 2012
Posts: 82

There is FileInput node. There is AIX server. The file on the server has last modified time 11:01, today. Timezone is NY.

When I debug the flow, the InputLocalEnvironment.File.LastModified is very strange! 2012-08-22 20:01:27.000

Or, to be exact, LastModified:TIMESTAMP:java.util.GregorianCalendar[time=1345662087000,areFieldsSet=true,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.ZoneInfo[id="America/New_York",offset=-18000000,dstSavings=3600000,useDaylight=true,transitions=235,lastRule=java.util.SimpleTimeZone[id=America/New_York,offset=-18000000,dstSavings=3600000,useDaylight=true,startYear=0,startMode=3,startMonth=2,startDay=8,startDayOfWeek=1,startTime=7200000,startTimeMode=0,endMode=3,endMonth=10,endDay=1,endDayOfWeek=1,endTime=7200000,endTimeMode=0]],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA=?,YEAR=2012,MONTH=7,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=22,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=1,HOUR=3,HOUR_OF_DAY=15,MINUTE=1,SECOND=27,MILLISECOND=0,ZONE_OFFSET=?,DST_OFFSET=?]

Why is that? I am in Ireland (GMT + summer time), 5 hours difference from the server.

Is that a known issue?

WMQ 7.0
Back to top
View user's profile Send private message
sudaltsov
PostPosted: Wed Aug 22, 2012 7:51 am    Post subject: Reply with quote

Voyager

Joined: 02 May 2012
Posts: 82

When it puts the file to mqsiarchive directory, it adds timestamp 150132 - which is ok, because that is UTC time. But why it adds again 5 hours, to get 20:01?...
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Aug 22, 2012 7:53 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Don't trust the debugger. Remember, it's running in your toolkit in your timezone and that it has to process the message tree to display it.

Look at a user trace.
Back to top
View user's profile Send private message
sudaltsov
PostPosted: Wed Aug 22, 2012 8:15 am    Post subject: Reply with quote

Voyager

Joined: 02 May 2012
Posts: 82

I checked using the toolkit in the same timezone. Still adding those stupid 5 hours.
But in the trace, it is correct. Odd...
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 22, 2012 8:35 am    Post subject: Reply with quote

Grand High Poobah

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

sudaltsov wrote:
But in the trace, it is correct. Odd...


Only the User Trace Speaks The Truth
_________________
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 » WebSphere Message Broker (ACE) Support » FileInput node, LastModified time, timezone
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.