note 36946 deleted from function.str-pad by didou

From: Date: Tue, 28 Oct 2003 14:51:36 +0000
Subject: note 36946 deleted from function.str-pad by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-59426@lists.php.net to get a copy of this message
Note Submitter: nick_stenning AT NOSPAM hotmail DOT com ---- The above example is pointless ... why not just do the following: <?php $date = '3-3-2001' $date = explode('-', $date) $date = $date[2] .'-'. $date[1] .'-'. $date[0] ?>

« previous php.notes (#59426) next »