Jump to content

Stamp time : UPDATE?


RON_ron

Recommended Posts

If the field is the appropriate type, you can use `field` = NOW() in the query string. You can also alter the field, or add another field and define it with ON UPDATE CURRENT_TIMESTAMP. Look at MySQL's timestamp functions and I'm sure you'll find the right way for your application.

Link to comment
https://forums.phpfreaks.com/topic/218434-stamp-time-update/#findComment-1133252
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.