It is currently Sat May 18, 2024 2:18 am
Post by antonan » Mon Dec 22, 2014 11:13 am
How to fill auto current datetime into table?
Post by mobhar » Mon Dec 22, 2014 11:20 am
Just select "ew_CurrentDateTime()" from "Auto-Update Value" column under "Fields" setup -> "General" for edit/update record.
You may also type "ew_CurrentDateTime()" (without double quotes) in "Default Value" under "Fields" setup -> "Add Page" for add record.
Post by antonan » Mon Dec 22, 2014 11:48 am
the data type in database should be "Datetime" or "timestamp"?
Post by mobhar » Mon Dec 22, 2014 12:00 pm
It should be "Datetime".
Return to “General Discussion (PHPMaker)”