Recording a datetime stamp in a form

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • new2js
    New Member
    • May 2013
    • 1

    Recording a datetime stamp in a form

    I am totally new to Javascript and I have tried learning the basics but I am trying to do something advanced which I am struggling to understand - I want to create something that will give me a datetime stamp and the comment the user has given for example the form will show a Reference and Name and the user will input their intials and comment and click submit. The form should now return showing the additional column datetime they submitted their comment.

    If someone can either advise of some code or what I need to be looking at to create this I would be very grateful.
    Please let me know if I have not explained this too well.
    Many Thanks in advance
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    what you need to look at is JavaScript’s Date object (and its methods).

    Comment

    Working...