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

Comments

matt westgate’s picture

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

andrew-leung’s picture

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

matt westgate’s picture