dayjs to date string code example Example: dayjs tostring dayjs('2019-01-25').toString() // 'Fri, 25 Jan 2019 02:00:00 GMT'