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
You Can Try This for the Only Date From the Datetime
String.Format("{0:d/M/YYYY}",dt);
Where dt is the DateTime
DateTime