Hey so was talking with one of my co-workers today and was asking what format he wanted the date in. We typically store our dates in a datetime field and he asked for a unix_timestamp.
We talked a little about it since I was doing a double take since we normally used datetime and I could give him a datetime format.
So basically I have always used unix_timestamps for my projects and it seems more logical to me since normally im doing some form of calculations on them or ordering them etc... So im wondering whats the best method to store dates/ times in a database.
We talked a little about it since I was doing a double take since we normally used datetime and I could give him a datetime format.
So basically I have always used unix_timestamps for my projects and it seems more logical to me since normally im doing some form of calculations on them or ordering them etc... So im wondering whats the best method to store dates/ times in a database.