Recent Topics

[3.3.3] Retrieving Item issue_date as a variable

Started by on Apr 01, 2010 – Contents updated: Apr 01, 2010

1 Apr 01, 2010 17:41    

My b2evolution Version: 3.3.3

Hi,

I am trying to get my post's issue date as a variable, the day of the month in particular, so that I can use it to change the post colors in my custom skin.
Problem is $Item->issue_date function prints it out immediately.
Is there a way or another function that I can use to get the issue day?
Thanks

Regards,
Brinley

2 Apr 01, 2010 18:05

<?php
$foo = $Item->issue_date;
echo '$foo = '.$foo;
?>

¥


Form is loading...

Community software – This forum is powered by b2evolution CMS, a complete engine for your website.