Thursday, December 8, 2011

How to add the time & date that the user submitted the form data?

How do u actually add the time %26amp; date that the user clicked the submit button to the page that the data was processed to? I cant find the solution anywhere in the net, perhaps i have no idea what the keywords are :( please help!|||Every language has some feature to get the current time. System.currentTimeMillis() in Java, "now" in php iirc, etc.





Simply get the current time as the first action in your processing code, and you will have the time the user pressed the button (give or take a couple of millisecond)

No comments:

Post a Comment