Answers for "data to yyyy-mm-dd string"

0

Convert a date to yyyy mm dd format

const formatYmd = date => date.toISOString().slice(0, 10);
formatYmd(new Date());
Posted by: Guest on October-21-2020

Code answers related to "data to yyyy-mm-dd string"

Python Answers by Framework

Browse Popular Code Answers by Language