How to convert the date format culture:
(# 8/16/2013 #).ToString ("dd-MMM-yy") the result is: "16-Ago-13"
How to convert culture ("en-us")
How to convert the date format culture:
(# 8/16/2013 #).ToString ("dd-MMM-yy") the result is: "16-Ago-13"
How to convert culture ("en-us")
Take a look at your formatting options here.
Basically, you can call:
myobject.ToString("MY_DATE_FORMAT", CultureInfo.CreateSpecificCulture("en-US"))
You are probably looking for DateTime.TryParseExact Method or DateTime.ParseExact Method
Something like this:-
if DateTime.TryParseExact(FieldName, _
"dd/MM/yyyy", CultureInfo.InvariantCulture, _
DateTimeStyles.None, dateValue) Then
FieldName = dateValue.ToString("MM/dd/yyyy")
End If