>Hi.
>
>VFP
>x={^2011-05-10} ALWAYS returns 10th May 2011 no matter what the culture is
>
>C#
>dateValue = DateTime.Parse("2011-05-10");
> Does this ALWAYS return 10th May, 2011 or are there instances when I could get 5th October 2011 ?
> If so, can it be made unambiguous , similar to the ^ in VFP
>Tia
>Gerard
It will always return May because there is not such date format like ydm.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com