25.05.2015, 14:53
https://dev.mysql.com/doc/refman/5.5...l#function_now
https://dev.mysql.com/doc/refman/5.5...on_date-format
The type of the field "Timestamp" and set it default value as define NOW(). When registering, it will insert the current timestamp itself. When loading use DATE_FORMAT(field_name, format_here)
The formats can be found in the link above.
https://dev.mysql.com/doc/refman/5.5...on_date-format
The type of the field "Timestamp" and set it default value as define NOW(). When registering, it will insert the current timestamp itself. When loading use DATE_FORMAT(field_name, format_here)
The formats can be found in the link above.