[PB5.1b5] ParseDate() trouble

Just starting out? Need help? Post your questions and find answers here.
JJ
User
User
Posts: 23
Joined: Fri Feb 16, 2007 12:41 am
Location: Paris, France

[PB5.1b5] ParseDate() trouble

Post by JJ »

The function ParseDate() send a diferent result in PB5.1b5 than older final version like PB5.00

Code: Select all

Debug ParseDate("%yyyy-%mm-%dd %hh:%ii:%ss","2003-12-02")
Debug ParseDate("%yyyy-%mm-%dd","2003-12-02")
With older version the both are accepted, but in PB5.1b5 the first line retunrs -1 invalid date.

By JJ
Fred
Administrator
Administrator
Posts: 18263
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [PB5.1b5] ParseDate() trouble

Post by Fred »

Well, your first call is invalid. Previous version was using too lazy checks.
Post Reply