I am using SQL Server, and wants to store only the date part, if it stores the time also no issue, but while checking the condition, I want to consider only date. for ex in .NET.
SELECT * 
  FROM checkins 
 WHERE checkindate='" + DateTime.Now.toShortDateString() + "'";