I think crossposting in relevant groups is acceptable, in fact I prefer it.
For example, a crosspost to the CF and PPC groups on a CF/PPC issue would be
warranted, and an answer in one group will show up in the other.
Now how this specific question has anything to do with sqlserver or
datamining is beyond me, so this is an example of a bad use of crossposting
that I also do not condone.
--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net
"Alex Feinman [MVP]" <(E-Mail Removed)> wrote in message
news:OSQB%(E-Mail Removed)...
> Do not cross-post. Ever. What does this have to do with .datamining???
>
> To parse this date string use DateTime.ParseExact(string, string,
> IFormatProvider):
>
> Dim dt as DateTime = DateTime.ParseExact("20040205", "yyyyMMdd", Nothing)
> If you have several possible formats you can use an overload that takes an
> array of format strings as a second parameter.
>
>
> For great netiquette suggestions see
> http://www.catb.org/~esr/faqs/smart-questions.html, in particular
> http://www.catb.org/~esr/faqs/smart-...ons.html#forum
>
>
>
> "Atley" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > I have a field in a database that contains dates in the following
format:
> >
> > 20040205
> >
> > It is a text field and I need to convert it to a date so I can compare
and
> > control a dataset.
> >
> > Any suggestions would be greatly appreciated... I have tried to use
> > GetDate(20040205), but it just gives me an error...
> >
> >
>
>