DevJourney · code I wrote while learning

  1. DevJourney
  2. Javascript
  3. VIT
  4. Sem-2
  5. Worksheet 2

Sem-2

  • ..
  • Worksheet 2
  • Worksheet 3
  • Worksheet 4

Worksheet 2

10 items
  • 1. Function to check whether an `input` is a date object or not using the “is_date” functionFolder—
  • 2. Write a JavaScript function to get the current dateFolder—
  • 3. Write a JavaScript function to get the number of days in a monthFolder—
  • 4. Write a JavaScript function to get the month name from a particular dateFolder—
  • 5. Write a JavaScript function to compare dates (i.e. greater than, less than or equal to)Folder—
  • 6. Write a JavaScript function to test whether a date is a weekendFolder—
  • 7. Write a JavaScript function to get the difference between two dates in daysFolder—
  • 8. Write a JavaScript function to get the last day of a monthFolder—
  • 9. Write a JavaScript function to calculate 'yesterday's dayFolder—
  • 10. Write a JavaScript function to get the maximum date from an array of datesFolder—

Pages

  • Home
  • Work
  • Projects
  • Certificates
  • DevJourney
  • Resume
  • Source ↗

Contact

+91 85097 01939India · IST --:--Open to internships

Upayan

UUPPAAYYAANN
UUPPAAYYAANN
© 2026 Upayan Mazumderv5.1.247ebfd9