Method for get date without time