Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3755

Date Format Exception again

$
0
0

Hello guys,

Apparently i run into this error again after years

Continuing the discussion from unsupportedformatexception in Xojo:

So i have the date recovered from an XML which is the following string

1979-05-27

i have the code

Var bDate As DateTime

bDate = DateTime.FromString(birthDate)

where it fails with the RuntimeException

Parse error: date needs to be in the format of YYYY-MM-DD HH:MM or YYYY-MM-DD

Any idea what could be the error ? as i don’t get it .

Thanks

MacOS Ventura 13.6.4
M1 Mac
XOJO 2023 R4

6 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3755

Trending Articles