Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Styling php .date function with css Reply To: Styling php .date function with css

#181684
Dejan
Participant

Thanks i think i did it. Now i just need to style it with CSS.

echo '<span class="post-date-day">'.date('d', strtotime($row['postDate'])). '</span>';
                            echo '<span class="post-date-month">'.date('M', strtotime($row['postDate'])). '</span>';
                            echo '<span class="post-date-year">'.date('Y', strtotime($row['postDate'])). '</span>';