In your database you should keep dates as dates. There's no need to convert dates to a specific string in your database. Treet data as data and do converting and formatting in your application.
Compare dates:
date1.ToString("yyyyMMddHHmm") == date2.ToString("yyyyMMddHHmm")
ToString(format) depends on how accurate the comparing should be.
What have you tried?