I need to remove time portion of date time or probably have the date in following format in object form not in the form of string.
object
string
DateTime.Date
var newDate = DateTime.Now; //newDate.Date property is date portion of DateTime