About 2,170,000 results
Open links in new tab
  1. Getting current date and time in JavaScript - Stack Overflow

    I think JavaScript will get the current date and time from System. Hence, set the current date and time in your Computer.

  2. How do I format a date in JavaScript? - Stack Overflow

    1756 For custom-delimited date formats, you have to pull out the date (or time) components from a DateTimeFormat object (which is part of the ECMAScript Internationalization API), and then …

  3. How do I get a timestamp in JavaScript? - Stack Overflow

    Date, a native object in JavaScript is the way we get all data about time. Just be careful in JavaScript the timestamp depends on the client computer set, so it's not 100% accurate timestamp.

  4. Javascript Date - set just the date, ignoring time?

    Feb 11, 2017 · Javascript Date - set just the date, ignoring time? Asked 13 years, 4 months ago Modified 1 year, 4 months ago Viewed 281k times

  5. How do I get the current time only in JavaScript - Stack Overflow

    Apr 30, 2015 · How can I get the current time in JavaScript and use it in a timepicker? I tried var x = Date() and got: Tue May 15 2012 05:45:40 GMT-0500 But I need only current time, for example, …

  6. How to initialize a JavaScript Date to a particular time zone

    None of the answers were able to "initialize a JavaScript Date to a particular time zone". My scenario was a user selecting a date and a timezone (for a meeting), so whether in Unix time stamp, or UTC, …

  7. Convert date to another timezone in JavaScript - Stack Overflow

    Apr 10, 2012 · Both of these lines returns a date in the local browser time zone, and doesn't answer the question on how to convert to another time zone with daylight savings time.

  8. How to get datetime in JavaScript? - Stack Overflow

    Jan 20, 2011 · How to get date time in JavaScript with format 31/12/2010 03:55 AM?

  9. Compare two dates with JavaScript - Stack Overflow

    The easiest way to compare dates in javascript is to first convert it to a Date object and then compare these date-objects. Below you find an object with three functions:

  10. date - Current time formatting with Javascript - Stack Overflow

    Feb 1, 2013 · I want to get current time in a specific format with javascript. With the function below and calling it will give me Fri Feb 01 2013 13:56:40 GMT+1300 (New Zealand Daylight Time) but I want …