0

How to format date in JavaScript?

Supposed to be each months have 31th like January, March, May, July, August, October, December and 30th are April, June, September, November and last but not the least February should have 28 days and if every leapyear(1904,1908,1912,1916,1920) should have 29th. https://code.sololearn.com/Wy3u5sH6LDa1/?ref=app

25th Sep 2020, 10:38 AM
Carlo Jade
Carlo Jade - avatar
1 Antwort
0
There are matematic solution for calculating them. You can find them in word wide web or here. I answered already similar question a few months ago.
25th Sep 2020, 12:08 PM
JaScript
JaScript - avatar