change date format for cross browser.