Check out example codes for "sql convert unix time to date". It will help you in understanding the concepts better.

Code Example 1

select FROM_UNIXTIME(UNIX_TIMESTAMP(),'%a %b %d %H:%i:%s UTC %Y');

Learn ReactJs, React Native from akashmittal.com