note 102310 deleted from function.date by danbrown
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Note Submitter: frans
----
@info at anu3d dot info 07-Feb-2011 04:18
You are wrong:
<?php echo date("Y-m-d h:m:s",$i); ?>
should be
<?php echo date("Y-m-d h:i:s",$i); ?>
From the documentation:
m Numeric representation of a month, with leading zeros
i Minutes with leading zeros