Ver Mensaje Individual
  #5 (permalink)  
Antiguo 10/11/2005, 13:43
KillerBKS
 
Fecha de Ingreso: julio-2002
Ubicación: Rancagua - Chile
Mensajes: 494
Antigüedad: 21 años, 9 meses
Puntos: 0
En la ayuda de la funcion date() de php encontre lo que buscaba:
Código PHP:
function findWeekPeriod($week$year)
{
   
$aPeriod = array();

   
// if you are a Catholic you should use $x = 0 considering Sunday as the first day of the week. I'm an Orthodox so I consider it the seventh day of the week

   
$x 1;

   
$aPeriod['start'] = date("d-m-Y"mktime(0001$week*$x 6$year));

   
$aPeriod['end'] = date("d-m-Y"mktime(0001$week*$x$year));

   return 
$aPeriod;

Ahi esta por si alguien la necesita, funciona rebien.

Salu2 !!!
__________________
AK.T.I.V.E.tm Live, Never DIE