$secs=time; $date = &ParseDateString("epoch $secs"); $week=UnixDate($date,"%W");