<system.web>
<globalization culture="en-US" uiCulture="en-US" fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8"/>
</system.web>
alert(Date.parse(serverDay + "." + serverMonth + "." + serverYear).toString("dd.MMM.yyyy"));
i am passing
serverDay=06 ,serverMonth=01 ,serverYear=2014
as an example from c#.i need to display the date based on different cultures.
i have two versions of date.js
date-en-US.js
and date-hi-IN.js
when using the Hindi script, it correctly displays 06.जनवरी.2014
however, when switching to the English version, it shows an incorrect result as 01.Jun.2014
.