Page 1 of 1

how to get the modified date of content

Posted: Fri Aug 05, 2005 11:08 pm
by ljbadenz
I am writing a module that loops through $allcontent as $onecontent where $allcontent = ContentManager::GetAllContent(false);

How do I get the modified date of $onecontent?

Note: I only want the conent date NOT the template date!

Re: how to get the modified date of content

Posted: Sun Aug 07, 2005 1:02 pm
by Ted
$onecontent->mModifiedDate should work

Re: how to get the modified date of content

Posted: Sun Aug 07, 2005 8:20 pm
by ljbadenz
Great, thanks

Re: how to get the modified date of content

Posted: Sun Aug 07, 2005 8:32 pm
by ljbadenz
also, what format is it in, because date('Y-m-d\TH:i:sO', $onecontent->mModifiedDate), produces 1969-12-31T18:33:25-0600, which aint right... how to I get this into iso format?