Date format in codeceptjs

Hi Team,

Could you please suggest any one the below date format.

from 09/20/1988 To 1988-09-20

MM/DD/YYYY To YYYY-MM-DD or vice versa

Are you asking how to convert one date format to another? If so, I would recommend using moment.js to do it the easy way. Otherwise, use a JS Date object to grab all the values and then reconstruct the date string however you want.