Answers for "new date() format to yyyy-mm-dd"

-1

python date from yy/mm/dd to yy-mm-dd

lastconnection = datetime.strptime("21/12/2008", "%d/%m/%Y").strftime('%Y-%m-%d')
Posted by: Guest on September-02-2020
3

js date format yyyy-mm-dd

yourDate.toISOString().split('T')[0]
Posted by: Guest on May-12-2020

Code answers related to "new date() format to yyyy-mm-dd"

Python Answers by Framework

Browse Popular Code Answers by Language