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
This way of get only date without time
DateTime date = DateTime.Now; string Strdateonly = date.ToString("d");
Output = 5/16/2015