added dateFormat script