Daily Coding Challenge - Odd or Even Day

Tell us what’s happening:

I Have 0 knolage of coding becouse I am just 16 year old Indian Boy I am just trying to learn coding

Your code so far

function oddOrEvenDay(timestamp) {

  return timestamp;
}

Your browser information:

User Agent is: Mozilla/5.0 (Linux; Android 15; 25028PC03I Build/AP3A.240905.015.A2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.7559.59 Mobile Safari/537.36

Challenge Information:

Daily Coding Challenge - Odd or Even Day
https://www.freecodecamp.org/learn/daily-coding-challenge/2026-01-27

please go to the certifications to learn to code, the daily challenges are there as a challenge once you already know how to code

I had a question about this challenge, could you please confirm me that test 3 is correct as it is? When I tried it with my code I got “even” and not “odd”. The date that I get for that timestamp is 2183-07-26 01:19:40.000000, and 26 would be “even”. I pass all the other tests with my code, that’s why I thought of asking.

There are two groups of Date methods: one group gets and sets various date components by interpreting the timestamp as a local time, while the other uses UTC.

Date - JavaScript | MDN

1 Like

Please open your own thread if you have a question.