Now that's simple - or would be. At first I thought I was just so
accustomed to writing REXX on MVS that I'd overlooked the addition of the
"O" option to the familiar TIME() function, but then I checked further. I'm
still running ooREXX version 3.2 on the machine where I had the original
problem (which itself is an ancient Windows 2000 Advanced Server), and
TIME('O') doesn't seem to be supported.
Rob
_____ From: Mike Cowlishaw [mailto:[email protected]] Sent: Saturday, October 19, 2013 9:17 AM To: 'Open Object Rexx Developer Mailing List' Subject: Re: [Oorexx-devel] Weirdness does the challenge you set yourself precludes using the oorexx datetime object? Or, indeed, the humble TIME() built-in function: say time('o') displays the offset from GMT in microseconds: Offset returns the offset of the local time from UTC in microseconds. The offset value will be negative for timezones west of the Prime Meridian and positive for timezones east of Prime Meridian. The local time('F') value can be converted to UTC by adding the time('O') value. Mike On 19 October 2013 08:07, Mike Cowlishaw <[email protected]> wrote: > Yes, it's another exec in a separate file. That one makes no > calls to external programs per se, but it does use OLEObj to > retrieve certain information from WMI. I wanted to see if I > could build my own utility for converting between local and > UTC time and I use OLEObj to fetch information about the > local time zone and offset for the conversion. Maybe there's a problem in OLEObj (or the system calls it uses). It's not something I've used. Mike ---------------------------------------------------------------------------- -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031 <http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk > &iu=/4140/ostg.clktrk _______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________ Oorexx-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/oorexx-devel
