fonction date en php

boubou
Invité n'ayant pas de compte PHPfrance

19 juil. 2005, 12:55

Salut,

je connais la fonction qui renvoi l'année en cours en mysql: year()

mais en existe il une en php?

Eléphant du PHP | 396 Messages

19 juil. 2005, 13:04

Tu aurais pu chercher sur ce forum, ou mieux sur google "date php"...
http://fr.php.net/date

Boubou
Invité n'ayant pas de compte PHPfrance

19 juil. 2005, 13:06

C'est bon g trouvé !!!
date("Y");
Merci quand meme!