Jump to content
Excelsior Forums
qnr

Some (different) questions regarding TimeConv

Recommended Posts

I'm in the process of writing my own time conversion module, and I'm just wondering about some basic things.

[tt]Convert[/tt] - does it return an integer specifying the time difference, or just  -1, 0, 1?  I'm curious, because it states a value less/greater

than zero

Do the functions and procedures [tt]SubDateDays, SubDateSecs, AddDateDays, AddDateSecs[/tt] take into consideration things like leap years?

Finally, and just for general information:  I don't know if it has any bearing on the [tt]TimeConv[/tt] problem wherein the dates are always invalid (it shouldn't, considering the description in the manual), but the definition of the [tt]DateTime[/tt] record shows [tt]DateTime.summerTimeFlag[/tt], however, it's actually accessed with [tt]DateTime.SummerTimeFlag[/tt]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×