How can a VB program account for GMT in the message object's PutDateTime
property? On the mainframe there are functions I can call that tell me if
GMT is observed, and if so, what is the offset..

On Windows, using VB COM components, the message PutDateTime property
returns the time using GMT. I could just hardcode a value to subtract to
get the local time, but then when switching to or from Daylight Savings
Time, the hardcoded value would be wrong.

Has anyone developed a way to compensate for GMT?

I could just write a quick, non-persistent message with a short expiry, and
read it back in to the program and compare the current time with the
PutDateTime to get the offset, but that seems like overkill (and too much
overhead)..

Peter

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to