[Mono-devel-list] Weird behavior of DateTime poperties in asp controls

Iain McCoy iain at mccoy.id.au
Wed Feb 18 20:43:33 EST 2004

On Thu, 2004-02-19 at 06:04, Gustav Schauwecker wrote:
> It seems that DateTime poperties are not parsed correctly (at least on my 
> system).
> for example the asp:calendar control:
> <asp:calendar runat="server" SelectedDate="01.05.2004" />
> this one works as long as the day number is lower than 13. If the day number 
> is between 13 and 23 no day is selected. And if it is above 23 a server error 
> is raised, for example:
>  Cannot parse 2004/25/02 as System.DateTime
This is just a guess, but I think it's possible that the required date
format is DD.MM.YYYY, but you're giving it MM.DD.YYYY - that is, you are
supplying days where you should supply months and vice versa.

Iain McCoy <iain at mccoy.id.au>

More information about the Mono-devel-list mailing list