About 947,000 results
Open links in new tab
  1. How do I format a date in JavaScript? - Stack Overflow

    How do I format a Javascript Date object as a string? (Preferable format: 10-Aug-2010)

  2. Assign the Date format to a field via JavaScript

    Nov 2, 2019 · Solved: Hi Is it possible to assign the Acrobat's buit-in Date format to a field via JavaScript? I tried several things but without success: - 10709310

  3. Format JavaScript date as yyyy-mm-dd - Stack Overflow

    This Stack Overflow thread provides solutions for formatting JavaScript dates as yyyy-mm-dd.

  4. Display date/time in user's locale format and time offset

    I want the server to always serve dates in UTC in the HTML, and have JavaScript on the client site convert it to the user's local timezone. Bonus if I can output in the user's locale date format.

  5. javascript - How to get hh:mm:ss from date object? - Stack Overflow

    How can I get this hh:mm:ss from date object? var d = new Date(); // for now datetext = d.getHours()+":"+d.getMinutes()+":"+d.getSeconds(); I get this result below ...

  6. Javascript: output current datetime in YYYY/mm/dd hh:m:sec format

    Jul 23, 2019 · I need to output the current UTC datetime as a string with the following format: YYYY/mm/dd hh:m:sec How do I achieve that with Javascript?

  7. javascript - How to convert a Date to UTC? - Stack Overflow

    Suppose a user of your website enters a date range. 2009-1-1 to 2009-1-3 You need to send this date to a server for some processing, but the server expects all dates and times to be in UTC. …

  8. How to validate date with format "mm/dd/yyyy" in JavaScript?

    I want to validate the date format on an input using the format mm/dd/yyyy. I found below codes in one site and then used it but it doesn't work: function isDate(ExpiryDate) { var objDate, //

  9. Javascript add leading zeroes to date - Stack Overflow

    Aug 31, 2010 · I've created this script to calculate the date for 10 days in advance in the format of dd/mm/yyyy:

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

    I have date time in a particular timezone as a string and I want to convert this to the local time. But, I don't know how to set the timezone in the Date object. For example, I have Feb 28 2013 …