Hi,
date_default_timezone_set('Europe/Paris');
$t = time();
print date('W', $t);
>
> Liefert mir eine 52. Das ist jedoch unvollständig(\*),
Wenn du nur W ausgeben lässt, bekommst du auch nur W. Wenn du das Jahr auch noch haben willst, dann nehme noch Y in den Formatstring mit auf.
MfG ChrisB
--
“Whoever best describes the problem is the person most likely to solve the problem.” [Dan Roam]