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! Quote 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() Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.