javascript - Instance Date with dd/mm/YYYY format -


this question has answer here:

i'm trying instance date in way

var date = new date('20/08/1990'); 

but returning invalid date.

how can it?

when passing string date constructor should use english notation dates, i.e yyyy/mm/dd.

that means should passing new date('1990/08/20');

documentation date class here.


Comments

Popular posts from this blog

Capture and play voice with Asterisk ARI -

visual studio - Installing Packages through Nuget - "Central Directory corrupt" -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -