Sam Granger Posted November 14, 2007 Share Posted November 14, 2007 In php, I want to have a form with a hidden field containing the current datetime. Eg: 2007-11-14 12:28:31 (year/month/day hour/minute/second). How can I achieve this? Quote Link to comment Share on other sites More sharing options...
aschk Posted November 14, 2007 Share Posted November 14, 2007 echo date('Y-m-d h:i:s'); Quote Link to comment Share on other sites More sharing options...
Sam Granger Posted November 14, 2007 Author Share Posted November 14, 2007 Thanks! Quote Link to comment 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.