Answers for "Convert yyyy-MM-dd HH:mm:ss to dd/mm/yyyy in java"

VBA
1

java date to string yyyy-mm-dd

java.util.Date date = new Date("Sat Dec 01 00:00:00 GMT 2012");
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
String format = formatter.format(date);
System.out.println(format);
Posted by: Guest on May-11-2021
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 "Convert yyyy-MM-dd HH:mm:ss to dd/mm/yyyy in java"

Code answers related to "VBA"

Browse Popular Code Answers by Language