We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- React
- Forms
- Employee Validation
- Discussions
Employee Validation
Employee Validation
Sort by
recency
|
55 Discussions
|
Please Login in order to post a comment
There are some issues with the test cases,
There are some issues with the test cases, I modified the today date to pass the test cases. please get the test cases updated for the task:
There are some error in the test cases for date. Until somebody from HackerRank fix it use the below code for your purpose. All test cases passed ✅
check the date if its valid
function check_date(value) { const date = value; setJoinDay(date); const today = new Date(); const selected = new Date(date);
To pass all the test use today date as
2025-04-12