Answers for "date format dd/mm/yyyy"

PHP
3

php date format dd/mm/yyyy

date("d/m/Y", strtotime($str));
Posted by: Guest on November-01-2020
4

javascript format date yyyy-mm-dd

let today = new Date()
today.toISOString().split('T')[0]
Posted by: Guest on August-27-2020
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 "date format dd/mm/yyyy"

Browse Popular Code Answers by Language