[thelist] ASP.net and the Calender control

darren darren at web-bitch.co.uk
Thu Aug 15 05:16:01 CDT 2002


On Thursday, August 15, 2002 at 10:46, Norman Beresford wrote:

NB> I've produced a application using a calendar control.  The
NB> CultureInfo.CurrentCulture shows en-GB.  The problem I'm getting is that the
NB> calendar control is mangling the date.  I've got the date stored in an
NB> Access DB as a date/time field.

you need to make sure your server is also running in english format...this
is usually the problem.

<snip>

NB> Does anyone have any ideas?

how about formatting the date from the postback to be in YYYYMMDD format
(or some other unambiguous format that access can handle) and inserting
that into the database?

hth,

darren.




More information about the thelist mailing list