Results 1 to 5 of 5

Thread: How To Format Javascript Date

Threaded View

  1. #1
    Join Date
    Jun 2006

    How To Format Javascript Date

    Newbie - Attempting to format date and having no success. Any help is appreciated. Here is what I have done so far.
    function chgit() {
    var d = new Date();
    var mm = d.getMonth();
    var dd = d.getDay();
    var yy = d.getFullYear();
    var thedate = (mm dd yy) ;
    document.getElementById("Date_Resolved").value = thedate;
    Last edited by Chamark; 07-18-2013 at 10:17 AM. Reason: [RESOLVED]

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center