Shell script to find files older than 1st Jan 2010
I'm looking for a script that find all files older than 1st Jan 2010. The following isn't working for me - 

    date-of-my-file = $(date -r /my-file +%F)
    if [ $date-of-my-file -nt "2010-01-01" ]
    then
    	echo "Yes"
    else
    	echo "No"
    fi

Any help will be appreciated. 
P.S: touch command is not working on my box with deprecated Linux.
Shell script to find files older than 1st Jan 2010
===

I'm looking for a script that find all files older than 1st Jan 2010. The following isn't working for me - 

    date-of-my-file = $(date -r /my-file +%F)
    if [ $date-of-my-file -nt "2010-01-01" ]
    then
    	echo "Yes"
    else
    	echo "No"
    fi

Any help will be appreciated. 
P.S: touch command is not working on my box with deprecated Linux.