CreatedOn
hdfCreatedOn.Value = Convert.ToString(DateTime.Today);
2012-06-27 00:00:00.000
hdfCreatedOn.Value = Convert.ToString(DateTime.Now);
hdfCreatedOn.Value = Convert.ToString(DateTime.Now); hdfCreatedOn.Value = String.Format("{0:g}", DateTime.Now); // "6/27/2012 4:32 PM" hdfCreatedOn.Value = String.Format("{0:G}", DateTime.Now); // "6/27/2012 4:32:07 PM"
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)