in reply to sql datetime value with today

If you have 2 strings in the same format as what you have, you can just use one of the operators eq,ne,lt,gt,le,ge, or cmp to compare. No need to convert.