Categories
In what type of data in Mysql to store unix time?
I need to store unix time in a database, but I don't know what type of data to choose
Answer the question
In order to leave comments, you need to log in
UNIXTIME is a number, so you need to store it in INTEGER. insert a number, extract either a number or using the date function. Here are mysql + php examples .
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question