Check if timegm is available and try to be as correct as possible if not
2 files changed