Change date format and some constants