I need to create a timestamp field for a table whose rows should expire after a certain time. If I use the following:
`timestamp` TIMESTAMP DEFAULT NOW(),
It shows time in a humanoid format, it would be much easier if I could have it in an era so that I could calculate in a matter of seconds. Is there a way to create a field that will display the current time when a row is created by default in the era? Thanks!
sql mysql
Ben kulbertis
source share