About 299,000 results
Open links in new tab
  1. JavaScript Get Date Methods - W3Schools

    The new Date() Constructor. In JavaScript, date objects are created with new Date(). new Date() returns a date object with the current date and time.

  2. Date - JavaScript | MDN - MDN Web Docs

    JavaScript Date objects represent a single moment in time in a platform-independent format. Date objects encapsulate an integral number that represents milliseconds since the midnight at the …

  3. Date and time - The Modern JavaScript Tutorial

    Oct 14, 2022 · Create a function getDateAgo(date, days) to return the day of month days ago from the date. For instance, if today is 20th, then getDateAgo(new Date(), 1) should be 19th …

  4. JavaScript Date - GeeksforGeeks

    Sep 25, 2024 · What is the JavaScript Date Object? In JavaScript, the Date object tracks time as the number of milliseconds since the Unix Epoch. You can create a Date object using the new …

  5. JavaScript Date Tutorial: Get the Timezone Right! - Full Stack …

    Mar 29, 2024 · When working with JavaScript dates, you must ALWAYS remember this definition. There are plenty of prototype functions on the Date object such as getDate(), getUTCDate(), …

  6. JavaScript Date and Time Functions - Quackit Tutorials

    JavaScript Date and Time Functions - full listing of all JavaScript functions for dealing with date and time.

  7. A Journey through JavaScript Date Functions: Everything You …

    Jun 29, 2023 · JavaScript provides a rich set of built-in Date functions that allow developers to manipulate and format dates with ease. In this comprehensive guide, we will explore various …

  8. JavaScript Date: Create, Convert, Compare Dates in JavaScript

    Feb 5, 2019 · Learn how to work with the Dates in JavaScript. JavaScript provides Date object to work with date & time including days, months, years, hours, minutes, seconds and milliseconds.

  9. JavaScript Date Reference - W3Schools

    Sets a date to a specified number of milliseconds after/before January 1, 1970 setUTCDate() Sets the day of the month of a date object, according to universal time

  10. JavaScript Date Reference - GeeksforGeeks

    Apr 18, 2025 · The JavaScript Date object is important for handling dates and times in web development. It provides various methods to create, manipulate, and format dates. …

  11. Some results have been removed
Refresh