[thelist] ASP.net and the Calender control

Norman Beresford n.beresford at anansi.co.uk
Thu Aug 15 06:19:01 CDT 2002


Hi Darren

I assumed that with the CultureInfo.CurrentCulture showing en-GB that that
meant that the server was running in English format.  I've taken your advice
and used the LongDateString to format the date, which appears to have cured
it.

Thanks

Norman


> -----Original Message-----
> From: thelist-admin at lists.evolt.org
> [mailto:thelist-admin at lists.evolt.org]On Behalf Of darren
> Sent: 15 August 2002 11:15
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] ASP.net and the Calender control
>
>
> 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.
>
> --
> For unsubscribe and other options, including
> the Tip Harvester and archive of thelist go to:
> http://lists.evolt.org Workers of the Web, evolt !




More information about the thelist mailing list