TOPIC: Date.Minus...
Date.Minus... 1 Year, 8 Months ago
Needed to store Date's in an external file format, only supporting string and binary fields.
So I thought of using the difference between the Date's and Date.Begin() in seconds to store them as binary values which I could then also convert back to Suneido Date's.

This however doesn't work, for instance:

date1 = Date();
date2 = date1.Plus(seconds:2147484);

It did work correctly in the past with previous versions.

Re:Date.Minus... 1 Year, 8 Months ago
Thanks. We will look into this. I went back to a version from 2007-02-25 and it still didn't come back with the correct number or seconds so I guess it's been like this for a while.
Re:Date.Minus... 1 Year, 8 Months ago
I think part of the problem is that the numbers are converted to 32 bit integers and we're exceeding the range.

And MinusSeconds is actually implemented in milliseconds which makes the range problem worse. (can only handle roughly 20 days)

Originally, Suneido used some date code that I wrote myself, but this had some problems so I switched to using Date:Calc. That is probably when this changed.

Another option is to just store the literal/Display format as a string.