title: Javascript Date Localization
body: <p>I'm working with an ASP.NET app with localization and globalization.  I'm having some difficulty understanding how to get the Date() function in javascript to work properly given the user's environment.  My user base is split between Mexico (spanish) and the US (english).  Since the Mexico date format is dd/mm/yyyy and the english format is mm/dd/yyyy, the standard Date(strDate) javascript constructor does not work for me.</p>
  
  <p>Does anyone know the best way to handle globalization/localization of a javascript Date value?  I have some business rules to enforce like dateA must be 90 days prior to dateB and dateB cannot exceed today.</p>