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 API Support » PutDate, PutTime difficulty

Post new topic  Reply to topic
 PutDate, PutTime difficulty « View previous topic :: View next topic » 
Author Message
pcelari
PostPosted: Tue Aug 28, 2007 12:17 pm    Post subject: PutDate, PutTime difficulty Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

I log all the msgs in a log queue for end of day statistic processing of hourly distribution of throughput.

At midnight, a program will run and retrieve all the msg to create an hourly profile based on the PutDate and PutTime in the MQMD.

However, since GMT is used in the two value, the msg I retrieve actually cross the date border.

Has anyone done any Date, Time manipulation on this two value? Would you mind sharing some insight as to how to use the values with local time?

Any insight would be appreciated.
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Aug 28, 2007 12:34 pm    Post subject: Reply with quote

Grand High Poobah

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

Which programming language COBOL? Java? (kawah)? C? C++? ...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
pcelari
PostPosted: Tue Aug 28, 2007 12:54 pm    Post subject: Reply with quote

Chevalier

Joined: 31 Mar 2006
Posts: 411
Location: New York

oops. I forgot the mention that. The program is written in C.
_________________
pcelari
-----------------------------------------
- a master of always being a newbie
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed Aug 29, 2007 11:22 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

As this is simply about general C programming, did you try Google ?

The Snippets web site has several C routines that manipulate date values:
http://c.snippets.org/browser.php

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
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 » IBM MQ API Support » PutDate, PutTime difficulty
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.