How to interpret date created

aleunpkc - December 17, 2004 - 18:40

Dear all,
I noted that the "date created" field of the node table is an integer. But, how to interpret (or resolve) it into date and time. Any resource out there can guide me through this calculation? Thank you for advice.
Andrew

format_date

matt westgate - December 17, 2004 - 18:45

It's an unix timestamp and can be rendered into something nice using Drupal's format_date() function.

format_date

aleunpkc - December 18, 2004 - 16:37

Hi mathias,
Thank you for your information. Do you know how to convert a date into the 11-digit timestamp? I need this function because I wish to import node with a specified date.
Thank you again.
Best regards,
aleunpkc

 
 

Drupal is a registered trademark of Dries Buytaert.