IConv (OpenInsight 32-bit)
At 26 OCT 2021 02:16:46PM Jim Vaughan wrote:
Why does the second of these two calls to IConv return a negative number?
Function Test(Null)
Date = "1/1/29"
Date_Val = IConv( Date,"D" )
Date2= "1/1/30"
Date_Val2 = IConv( Date2,"D" )
debug
Return 0
Jim R Vaughan
At 26 OCT 2021 02:26PM Jim Vaughan wrote:
1930.
When does this start happening? What is the solution? Force date to be 4 char?
Jim R Vaughan
At 26 OCT 2021 02:33PM D Harmacek wrote:
I this it has been this was since Revelation!
from progref iConv Date
30 to 99 are converted as 1930 to 1999
00 to 29 are converted as 2000 to 2029
Dave Harmacek - Harmacek Database Systems - near Boston, MA USA