note 69445 deleted from function.date by tularis

From: Date: Thu, 09 Feb 2012 21:03:54 +0000
Subject: note 69445 deleted from function.date by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-186025@lists.php.net to get a copy of this message
Note Submitter: russ at isitaboat dot co dot uk ---- Easy way of switching between mysql and "normal" dates (english, not american)... <?php function flipdate($dt, $seperator_in = '-', $seperator_out = '-') { return implode($seperator_out, array_reverse(explode($seperator_in, $dt))); } ?>

« previous php.notes (#186025) next »