Would probably be better to change the field to INT and convert all your gmtime() to time(). It's less work for mySQL than if it has to convert every date string every page access. Also, depending on how many accesses you have and how many image files, you could look into an INDEX for the field.
This doesn't directly answer your question, but it may be useful things to keep in mind.