NetTalk Central

Author Topic: Date Validation  (Read 3020 times)

BColladay

  • Newbie
  • *
  • Posts: 39
    • View Profile
    • Email
Date Validation
« on: January 10, 2011, 07:12:28 AM »
I am on NT 5.07  I don't know if it was like this before, but...

In a date box 1112011 validates to 7/28/4845 as does 01112011

If I put 1/11/2011 it works correctly.  Also-simply typing 11 resolves to 01/11/2011 as well


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Date Validation
« Reply #1 on: January 10, 2011, 10:54:34 PM »
Hi Ben,

>> I am on NT 5.07  I don't know if it was like this before, but...
>> In a date box 1112011 validates to 7/28/4845 as does 01112011

correct. Clarion date number 1112011 is 28 july 4845.
The real problem though is that 1112011 could be interpreted as
11 December 2011 or
1 November 2001 or
Jan 11 2011

any kind of separator would be handy.

>> If I put 1/11/2011 it works correctly. 

good.

>> Also-simply typing 11 resolves to 01/11/2011 as well

correct. if you put in a number < 32 then it uses that as the day, using the current month and year.

Cheers
Bruce