in php heb ik een datum bijv. 12-05-2008 en daaruit wil ik weten welke week het is weet iemand een oplossing?
datum
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [URL="http://www.php.net/date"]date[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]W[/COLOR][COLOR= #007700],[/COLOR] [URL="http://www.php.net/strtotime"]strtotime[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]12-05-2008[/COLOR][COLOR= #007700]));[/COLOR]
?> thnx hij werkt