Corrected GMT to Local time

Was comparing the file modified time as a gmt time against now() which is localtime.