• The data exist in the database in this format:

    2010-09-23 13:02:54.000

    I want to compare with a string that I get from a application:

    01-02-2013

    The hours , minuts and seconds are not importante.

    Can someone help?