Posted on: 3/14/2014 10:49:35 AM | Views : 332

Hi All
Can anyone please offer any assistance with the following date formatting issue:
Dim startDate As DateTime = DateTime.Parse(txtDEC.Text, System.Globalization.CultureInfo.GetCultureInfo("en-GB")) When I come to debug 'startDate' the date is showing in US format 'mm/dd/yyyy' and not the UK format I require (dd/mm/yyyy), I've also included the following within my web.config:
<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-GB"/> Can anyone please throw any light onto the situation?

 

Go to the complete details ...