Page 1 of 1
[SOLVED] date format question???
Posted: Fri Nov 07, 2003 4:04 pm
by wesnoel
Need to write a date to a csv file log.
How would I seperate the month,day,year?
Example:
Seperated by commas
November,07,2003,
Any help?
Wes/
Posted: Fri Nov 07, 2003 4:27 pm
by qads
check [php_man]date[/php_man] in php manual, why didnt you do that in the first place?

Posted: Fri Nov 07, 2003 4:33 pm
by wesnoel
I did but I really don't understand all of this. I'll look over it again.
Sorry for bothering everyone.
Wes/
Posted: Fri Nov 07, 2003 4:37 pm
by qads
Code: Select all
<?php
$today = date("M d Y", time());//month day year format.
?>
Posted: Fri Nov 07, 2003 5:09 pm
by wesnoel
Thanks!
I found it.
You guys rock qads!
Wes/
Posted: Fri Nov 07, 2003 5:30 pm
by qads
no problem
