Thanks for your help...does anyone have a script that does a DATE compare??

I need something like if this file is not TODAYs date then execute this cmd..is there a script someone can share that can accomplish this?