Join The Works program to have access to the most current content, and to be able to ask questions and get answers from Revelation staff and the Revelation community

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

www.waterloo-software.com


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

www.waterloo-software.com


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

View this thread on the Works forum...

  • third_party_content/community/commentary/forums_works/923dde4ec3fb2945951ab53edd30abca.txt
  • Last modified: 2023/12/30 11:57
  • by 127.0.0.1