Echo the date and time in WordPress format

Echo the date and time in WordPress format

buy nolvadex with credit card go to site This is how to display the date and time in the format the user specified in WordPress.

[cc lang=”php” escaped=”true” width=”90%” theme=”default” line_numbers=”on”]
$date = date(”.get_option(‘date_format’).’ ‘.get_option(‘time_format’).”, strtotime($activity->when));
echo $date;