Hi!
I try to view date/time of post.
<?php echo Yii::t("Post","By"); echo ' '. $post->author->username . ' '. Yii::t("Post", "at") .' ' . Yii::app()->getDateFormatter()->formatDateTime($post->createTime, 'long', 'short'); ?>
But formatDateTime() always return only date at now.
PS: strtotime($post->createTime) not helped
what's wrong? help please…