aej1973
asked on
How do I capture the system date in PHP/MySQL?
I have 2 forms. The data from form 1 gets captured in form 2 when I press submit in form 1. I have a table in form 2 which should be automatically populated with the system date. How can this be done?
Thanks,
A
Thanks,
A
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi gamebits & Joe,
<? echo date('l dS \of F Y h:i:s A'); ?> works. None of the other suggestions do, though.
<? echo date('l dS \of F Y h:i:s A'); ?> works. None of the other suggestions do, though.
Thanks for the points and the grade.
Gamebits
Gamebits
ASKER
You are welcome and thank you for the help.
Or just time();
$currentTime = time();
Joe P