0

i knew that you can get the unique id of a row after saving by using the insert_id. my question is can i also get the actual timestamp value of a row on mysql database right after saving?

kapitan
  • 2,008
  • 3
  • 20
  • 26
  • Visit this https://stackoverflow.com/questions/9657206/mysql-how-can-i-get-the-timestamp-of-the-last-insertion-to-the-database or this https://stackoverflow.com/questions/8364430/timestamp-for-row-creation-and-last-modification?rq=1 – Simon Muraya Aug 13 '17 at 07:40

1 Answers1

0

question is can i also get the actual timestamp value of a row on mysql database right after saving

Sure. Once you got ID of that row you just SELECT it and you will get all the data you need.

Marcin Orlowski
  • 72,056
  • 11
  • 123
  • 141