06.01.2017, 12:40
Here is a hint:
- MySQL Datatype "Date"/"Timestamp"
- MySQL Column Default Attribute
- MySQL Function CURDATE() / NOW()
(- MySQL Function UNIX_TIMESTAMP)
Also, there is no need to save the actual difference between now and register date, since you can calculate that at any time as long as u ahve the register date
- MySQL Datatype "Date"/"Timestamp"
- MySQL Column Default Attribute
- MySQL Function CURDATE() / NOW()
(- MySQL Function UNIX_TIMESTAMP)
Also, there is no need to save the actual difference between now and register date, since you can calculate that at any time as long as u ahve the register date