On Sep 1, 2006, at 12:21 PM, Phil M wrote:

On Sep 1, 2006, at 10:22 AM, Norman Palardy wrote:

2006 added a GMT offset to the Date class which you can adjust and the date adjusts accordingly

Wow, I completely missed that.

I see that it returns the offset in hours... I wonder how that works with time zones which are 30 minutes off?

It's a double so it shouldn't be a problem. I still find it easier to work with the declares and keep it in seconds for offset calculations. With the 2006 method you must multiply the offset by 3600 to get the .totalseconds for calculations or go through the provided methods on the list.

Will these make it into the docs? Doubt it when the OLR still says things like:

"Syntax
GMTOffset( Double ) as"

Oh well. The online docs are a mess anyways.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to