Answer the question
In order to leave comments, you need to log in
How to get date in date format?
SELECT fullname, startdate FROM course
startdate - stored in bigint format. How to output it in date format?
Answer the question
In order to leave comments, you need to log in
it turned out like this
DATE_FORMAT(FROM_UNIXTIME(startdate),'%Y-%m-%d')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question