if gmtime() returns NULL, this returns -1 to bail out nicely
1 file changed