|
|
 |
RE: FN-FORUM: Date conversion problem
date posted 10th January 2007 11:52
> The VB.net code that is causing the problem is:
> CDate(xmlChannel.SelectSingleNode("CheckDue").InnerText)
The CDate is a legacy date conversion function from VB6 - this might (might)
be causing you problems with different time zones or locales. Try using the
.net framework methods which are more aware of such things -
Convert.ToDateTime(string), DateTime.Parse, for example.
A bit of a hunt on Google should put you on track.
Cheers,
Andrew.
--
_____________________________
Andrew Bibby
I.T. Solutions Ltd
http://www.itsolutions.uk.com
|
 |
|