You can use the strftime() function (see the php.net manual: strftime () for more information and all parameters) with the specified parameters to convert the timestamp to a readable format.
You can use the function in this way strftime("%a %b %d %Y") , where% a stands for the abbreviated name of the day of the week,% b for the abbreviated name of the month,% d for the day of the month and% Y to represent YYYY of the specified year.
source share