Using Explode() With Date()

<?phpphp
$ar = explode('|',date("h a|F d, Y"));
print "It's after $ar[0] on $ar[1]";
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.