🔒 Closed FUN CODING PROBLEMS for beginners (Find the Day of the Week)

Status
Not open for further replies.

cetmyeval69

Honorary Poster
fvg.PNG


COMMENT YOUR SOLUTIONS!!
You do not have permission to view the full content of this post. Log in or register now.
 
Javascript

function returnDate(day,month,year) { const newDay = new Date(day,month,year).getDay() return ['monday','tuesday','wednesday','thursday','friday','saturday','sunday'][newDay - 1] } returnDate(31,9,2019)
 
Status
Not open for further replies.

About this Thread

  • 8
    Replies
  • 448
    Views
  • 7
    Participants
Last reply from:
Yuuji-kun

Online now

Members online
1,023
Guests online
1,452
Total visitors
2,475

Forum statistics

Threads
2,277,057
Posts
28,974,016
Members
1,229,706
Latest member
mxmmo
Back
Top