note 2232 deleted from sprintf by ronabop
| From: | ronabop@php.net | Date: | Fri, 11 Aug 2000 18:12:09 +0000 |
| Subject: | note 2232 deleted from sprintf by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1367@lists.php.net to get a copy of this message | ||
Can someone answer a couple of formatting questions
for me please?
How do you format money so that it appears with the comma
but only if the amount is $1,000.00 or more? That is, the same
code should work for $400.00 and for $1,400.00.
Also, how do you format date time? I have an SQL field
that has the value 1999-11-03 18:03:12. What codes do I
use to format this as 6:03 pm, Nov 3, 1999?
Thanks!