Join Up!
104887 members and counting!

 
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links 
search for in the  
previousFecha/horadatenext
Last updated: Tue, 29 Oct 2002
view the printer friendly version or the printer friendly version with notes or change language to Czech | Finnish | German

checkdate

(PHP 3, PHP 4 )

checkdate -- valida una fecha u hora

Descripción

int checkdate ( int month, int day, int year)

Devuelve un valor verdadero si la fecha dada es válida; en caso contrario, devuelve un valor falso. Comprueba la validez de la fecha formada por los argumentos. Se considera válida una fecha si:

  • el año está entre 0 y 32767, ambos incluidos

  • el mes está entre 1 y 12, ambos incluidos

  • el día está en el rango permitido para el mes dado. Se tienen en consideración los años bisiestos.

User Contributed Notes
checkdate
add a note about notes
There are no user contributed notes for this page.
previousFecha/horadatenext
Last updated: Tue, 29 Oct 2002
Copyright © 2001, 2002 The PHP Group
All rights reserved.
This mirror generously provided by: http://phpbuilder.com/
Last updated: Thu Oct 31 18:34:28 2002 EST