+ 1

How i fix this Array [ ]

Array index [3] = month 5 - array index[2] https://code.sololearn.com/W5G1lcrs4uv0/?ref=app

29th Apr 2019, 9:10 PM
Omar Khalil Bakhsh
Omar Khalil Bakhsh - avatar
3 Réponses
30th Apr 2019, 5:32 AM
::sк::
::sк:: - avatar
0
Date(...then).now() - Date().now() https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date Date.now() method Returns the numeric value corresponding to the current time - the number of milliseconds elapsed since January 1, 1970 00:00:00 UTC, with leap seconds ignored.. The returned is in milli second, multiple by 1000 if you need
30th Apr 2019, 5:49 AM
Gordon
Gordon - avatar
0
Can you remove your earlier question which does not have a code attempt? https://www.sololearn.com/Discuss/1779937/?ref=app
30th Apr 2019, 5:52 AM
Gordon
Gordon - avatar