Bien le bonjour, voici mon problème:
Je réalise des graphiques grâce à l'api google. Dans leur exemple pour ajouter une valeur à leur graphique :
.Code:data.setValue(3, 0, new Date(2008, 1 ,4));
Le problème est que cette ligne, je la crée en php...
Voici le problème : leCode:
1
2
3 $otherStamp = strtotime($listepro['timestamp']); echo "['".date("D M d Y H:i:s TO", $otherStamp)."', ".$listepro['nb_gestion'].", ".$listepro['nb_maj']."],";
renvoie "Sat Feb 02 2008 00:00:00 GMT+0100" et en php le "date("D M d Y H:i:s TO", $otherStamp)" renvoie la même chose. OR "erreur javascript : does not match type date". j'ai essayé en type datetime mais aucun effet.Code:new Date(2008, 1 ,4)