Re: best design for parse
- From: "Cor Ligthert [MVP]" <notmyfirstname@xxxxxxxxx>
- Date: Sat, 6 Jan 2007 08:49:07 +0100
GS,
Maybe can you avoid this in 2007 and all things like that as
DateTime.parseExact, but have a look to the nicely by Microsoft inbuild
globalization and than the to that related ToString option.
Cor
"gs" <gs@xxxxxxxxxxxxxx> schreef in bericht
news:OtrnsPTMHHA.4720@xxxxxxxxxxxxxxxxxxxxxxx
let say I have to deal with various date format and I am give format
string from one of the following
dd/mm/yyyy
mm/dd/yyyy
dd/mmm/yyyy
mmm/dd/yyyy
dd/mm/yy
mm/dd/yy
dd/mmm/yy
mmm/dd/yy
dd/mm
what is the best way to come up a relevant regex for the incoming format
string
a) use two array and statically match
b) use regex to find the order
.
- Follow-Ups:
- Re: best design for parse
- From: GS
- Re: best design for parse
- From: GS
- Re: best design for parse
- References:
- best design for parse
- From: gs
- best design for parse
- Prev by Date: Re: SMTP Relay/Server in VB2005
- Next by Date: Re: Try Catch
- Previous by thread: Re: best design for parse
- Next by thread: Re: best design for parse
- Index(es):
Relevant Pages
|