About 712,000 results
Open links in new tab
  1. 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 …

  2. JavaScript Dates - W3Schools

    3 days ago · Date methods allow you to get and set the year, month, day, hour, minute, second, and millisecond of date objects, using either local time or UTC (universal, or GMT) time.

  3. JavaScript Date Objects - GeeksforGeeks

    Jul 11, 2025 · In JavaScript, the Date object is a built-in object that allows you to work with dates and times. It provides a variety of methods to handle dates, compare them, manipulate them, …

  4. JavaScript Date Objects - W3Schools

    5 days ago · Date objects are created with the new Date() constructor. There are 4 ways to create a new date object: Date objects are static. The computer time is ticking, but date objects are …

  5. Date and time - The Modern JavaScript Tutorial

    Oct 14, 2022 · To create a new Date object call new Date() with one of the following arguments: Without arguments – create a Date object for the current date and time: Create a Date object …

  6. JavaScript Date Object: Working with Dates - CodeLucky

    Feb 6, 2025 · Date objects contain a Number representing milliseconds since 1 January 1970 UTC. The main purposes of the JavaScript Date object include: There are several ways to …

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

    Feb 5, 2019 · Use the Date () function to get the string representation of the current date and time in JavaScript. Use the new keyword in JavaScript to get the Date object. Create a date object …

  8. Handling Dates and Times with JavaScript’s Date Object

    Apr 9, 2025 · There are several ways to instantiate a Date object. Calling new Date () with no arguments creates a new Date object representing the current date and time according to the …

  9. Date () constructor - JavaScript | MDN

    Dec 17, 1995 · The Date () constructor creates Date objects. When called as a function, it returns a string representing the current time.

  10. JavaScript Date Reference - W3Schools

    Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.