How to set an objects' creation date in PHP via the API?

How to set an objects' creation date in PHP via the API?

Wednesday 24 June 2009 2:53:00 am - 2 replies

Author Message

Carlos Revillo

Wednesday 24 June 2009 3:17:00 pm

Hi.
Have you tried

$object->setAttribute('published', [timestamp here]);

hope it helps.

Rainer Krauss

Thursday 25 June 2009 1:28:17 am

Yes, I did, Carlos, and it helped! Thank you!

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.