+ 3
Should the "Time" datatype be used for displaying a regularly set time?
For example, if I specify a time to workout, then would i store that as an integer and convert on the front end, or should i store it as a time?
1 Answer
+ 6
I would personally store it as an integer, and I'll use PHP to do the conversion back to something understandable opposed to 1576578758 - you can use JavaScript on the front end with it too.