CollectiveIndustries / StarfleetDelta

Repository for Starfleet Delta Webpage, Database, and all in world scripts
https://www.starfleetdelta.com/
GNU General Public License v3.0
2 stars 4 forks source link

[MySQL] Database timestamps reset upon using RP date & time. #13

Open windowswill opened 7 years ago

windowswill commented 7 years ago

When adding records to the accounts table in the UFGQ database, I used the RP dates (2412 instead of 2012) to input dates for induction and promotion. Once set, they promptly reset to all zeros, forcing me to use real time dates.

Morketh commented 7 years ago

Database currently uses the Unix Time stamps for any date/time. Currently Unix time stamps are only 32 bit and as such they only go up to January 19, 2038 03:14:08 GMT. I will look into building a better and more flexible way of handling arbitrary dates/times.

Morketh commented 7 years ago