LBLDate.Text = authorizationInfo["authorizedtime1"].ToString();
string date1 = LBLDate.Text.ToString();
DateTime date = DateTime.Parse(date1);
string newdate = string.Format("{0:dddd ,MMM dd ,yyyy}", date);
LBLDate.Text = newdate.ToString();
Output:
Friday ,Sep 21 ,2012
No comments:
Post a Comment