Techiio-author
Started by Jake WiliamsSep 25, 2021

Open
Check if two dates are present in same week or not. (In JS)

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

E.g. Input 1:----- date 1='2021-09-20' date 2='2021-09-24'

Output 1:---- Present in same week

Input 2:------ date 1='2021-09-24' date 2='2021-09-27'

Output 1:---- Not in same week

Please provide solution in javascript.

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance