put the date in the original format for IE