hoping to fix 64 bit problem with gmtime