In trying to change the way a date column is displayed in a list, I've created a calculated field and used the following formula:
=TEXT([Start1], "DDD MMM DD YYYY, HH:MM AM/PM")
The field shows properly in the list view, but when I pull the data using the following C# code:
try{ searchin.InnerHtml += "<td>" + item1["Start1"].ToString() +"</td>";
}catch{
searchin.InnerHtml += "<td> </td>";
}
I am seeing the following displayed:
string;#Mon Jan 16 2017 08:00 AM
Is there a way that I can get rid of the string;# ?