Check out example codes for "mysql pretty date format". It will help you in understanding the concepts better.
Code Example 1
DATE_FORMAT(NOW(),'%M %e, %Y @ %h:%i %p')
#Format is 'June 10, 2014 @ 06:52 PM'
Learn ReactJs, React Native from akashmittal.com