listing news and events problem |
[eluser]vitoco[/eluser]
suposing that your date stored in $date , you can transform that to time using strtotime http://www.php.net/manual/en/datetime.formats.date.php in one of the formats accepted, then use the time resulting as second parameter for date() function, and format to using first parameter http://php.net/manual/en/function.date.php example Code: $date = '2011-01-01' ; Saludos |
Messages In This Thread |
listing news and events problem - by El Forum - 06-17-2011, 05:32 AM
listing news and events problem - by El Forum - 06-17-2011, 01:31 PM
listing news and events problem - by El Forum - 06-20-2011, 11:34 PM
listing news and events problem - by El Forum - 06-20-2011, 11:45 PM
listing news and events problem - by El Forum - 06-20-2011, 11:49 PM
|