Whats the difference between culture and region


I am using the below piece of code to get the date format for my datepicker.


getUserRegionalSetting() method returns 'en-US'. when code gets executed I get date pattern as follows "M/d/yyyy h:mm tt". may I know why i am not able to get the seconds here. and what code changes should i make to get "M/d/yyyy h:mm:ss tt" format.

I can set the dateformat for the datepicker which we create using MVC by using ThreadManager.CurrentSession.Culture.DateTimeFormat.LongTimePattern. not able to achieve same using js.


Shwetha Onkarappa