Converting cURL publish date


#1

I have fetched posts using CURL and PHP and have been trying to convert the published date property to a formatted date.

Here is my php code:

echo date( ‘F jS, Y’, 1490298041000 );

and it is returning March 28th, 1968. and it should be March 15th, 2017.