[fixed][PHP] function CreateDate i made doesnt work?
| From: | Andy B | Date: | Tue, 06 Apr 2004 20:26:07 +0000 |
| Subject: | [fixed][PHP] function CreateDate i made doesnt work? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-182541@lists.php.net to get a copy of this message | ||
"date() expects a UNIX timestamp. YYYYMMDDHHMMSS is NOT a UNIX timestamp.
So,
instead of converting the UNIX timestamp to YYYYMMDDHHMMSS in your function,
why not leave it a UNIX timestamp? Then you can send it through date()
whenever you want it formatted.
"
yea...it works now...hmmm... dont know why i didnt think of that...... got
it working now though tnx...