D
Detlef Jockheck
Hi,
I would like to check if a string contains a valid date format
(Format: "dd.mm.yyyy") or not.
What is the best way to do this. regexp? At the moment it would be
sufficient to check for
[digit][digit].[digit][digit].[digit][digit][digit][digit] but a full
date verification (Month in range 1-12 ...) would be very nice too.
Sample code would help me very much.
regards
Detlef
PS: I'm a python newbie, so excuse this silly question
I would like to check if a string contains a valid date format
(Format: "dd.mm.yyyy") or not.
What is the best way to do this. regexp? At the moment it would be
sufficient to check for
[digit][digit].[digit][digit].[digit][digit][digit][digit] but a full
date verification (Month in range 1-12 ...) would be very nice too.
Sample code would help me very much.
regards
Detlef
PS: I'm a python newbie, so excuse this silly question