Create redirectByDate.js