note 34740 deleted from function.getdate by didou
| From: | didou@php.net | Date: | Tue, 05 Aug 2003 15:37:51 +0000 |
| Subject: | note 34740 deleted from function.getdate by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53419@lists.php.net to get a copy of this message | ||
Note Submitter: macgod@rirc.net
----
The following I found does not work to zero-fill:
if ($current["minutes"] < 10) {
$current["minutes"] = "0" . $current["minutes"];
}
All it does is make it 0 and not add a zero.