toolman Posted May 14, 2015 Share Posted May 14, 2015 Hi, I have been given the following input and comment, but I am not sure what it means and how to create the datestamp / what is being asked to be created. <input type="hidden" name="s_creation_date" id="s_creation_date"/><!-- use DOM to update s_creation_date with the current datetime stamp--> Could you tell me what it means and how to create it? Thanks! Link to comment https://forums.phpfreaks.com/topic/296319-how-can-i-create-this-datestamp/ Share on other sites More sharing options...
codefossa Posted May 14, 2015 Share Posted May 14, 2015 http://jsfiddle.net/y3j81fr0/ You can change the input type to text to see it happen. Just setting the value to: (new Date()).getTime() Link to comment https://forums.phpfreaks.com/topic/296319-how-can-i-create-this-datestamp/#findComment-1511945 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.