Howdy,
My site is hosted in a different timezone from mine. The date format is mm-dd-yyyy.
But I receive httppost message in which my FormCollection parameter receives dates in the format dd-mm-yyyy.
So I keep getting an date parse exception and not even get into the method (empty method by the way!). So I suppose that this error is caused because the time zone.
Is there any chance of this happen?
My code where I get error:
public ActionResult MyAction(FormCollection model)
{
// empty
}
Thanks!