Accueil > FR > A PROPOS DU CEME > Contact
Une remarque, une question, un projet ...
Contactez nous.
Notre adresse postale :
Charleroi Espace Meeting Européen - CEME ASBL
Rue des Français, 147
6020 Charleroi
Tél : +32 (0)71 23 98 50
Fax : +32 (0)71 23 98 68
E-mail : info@ceme.be
L’équipe :
Administratrice Déléguée :
Sabine Delitte - E-mail : sabine.delitte@charleroi.be
Responsable administrative/Comptabilité :
Florence Tilmant - E-mail : florence.tilmant@charleroi.be
Responsable Evénements :
Christine Lievyns - E-mail : christine.lievyns@charleroi.be
Responsable Marketing/Communication :
Brigitte Paquet - E-mail : brigitte.paquet@charleroi.be
Responsable Expos/Audiovisuel :
Jean-Philippe Goffaux - E-mail : jean-philippe.goffaux@charleroi.be
Votre question :
/********* week ¨****/
/** on a besoin du numéro de la semaine d'une date
**/
function weekof($j,$m,$a)
{
$k="$j-$m-$a";
return date('W',strtotime($k));
}
/********* week ¨****/
/** et du premier jour de la semaine d'une date
**/
function day1w($j,$m,$a)
{
/*
$k=" first Monday of week ".date('W',strtotime("$j-$m-$a"))." of $a";
return date('Y-m-j-W',strtotime($k));
*/
$k="";
$givenday=date("w",mktime(0,0,0,$m,$j,$a));
if($givenday==1)
$k="$j-$m-$a"; # C'est lundi
if($givenday==0)
$givenday=6; #C'est dimanche
else
$givenday--;
if(!$k)
$k="$j-$m-$a -$givenday days"; #return $k;
return date( 'Y-m-d',strtotime($k));
}
?>
Un message, un commentaire ?