<?php echo $fileObj->getDateAdded();?>
$f = File::getByID($fileID); $fv = $f->getVersion(); $fileTitle = $fv->getTitle(); $fileDescription = $fv->getDescription(); $fileUrl = $fv->getRelativePath(); $fileSize = $fv->getSize(); $fileType = $fv->getType(); $fileAuthor = $fv->getAuthorName(); $dh = Loader::helper('date'); $fileDate = $dh->formatDateTime($f->getDateAdded('user'), false);
echo $fileDate
You are allowed to delete your post for 5 minutes after it's posted.
Delete
Are you sure you would like to mark this post as spam?
Mark as Spam
This script will report this post as spam and add a permanent IP ban for this user, type "DESTROY" below to continue.
DESTROY SPAMMER
You must have a user account and be signed to perform this action.
You'll notice this gets several other (built-in) attributes for the file. To actually render the date added, simply use this:
Hope that helps.