Re: Good eve

From: Date: Sun, 08 Dec 2002 00:03:30 +0000
Subject: Re: Good eve
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-127402@lists.php.net to get a copy of this message
sorry, I read your post wrong! don't use php functions, but use native database functions. in mysql you can use date_format() SELECT field from table where date=DATE_FORMAT(now(), '%d/%m/%y); this makes the format of now(), which is 2002-12-07 into a format with first the days of the week in numeric form (%d) followed by a / (/) followed by the months of the year in numeric form(%m) etc

« previous php.general (#127402) next »