Mysql: Defaulting a DATE field to current date
I recently came across the Mysql TIMESTAMP field type. I’ve seen this datatype for years, however have never really used it – until now. I’ve been looking for a way to set a fields value to the current date/time by default. You can’t do this with DATETIME field types in mysql, however you can do [...]
