Thanks, I guess in my previous place (where it worked) it was not stored in date format, and we were doing = comparison , so it worked because it was basically a string comparison.

Thanks for the info tho, just thought it was an option to explore because often comparing two different types don't work.

Nirasha