[ Index ] |
|
Code source de PHP PEAR 1.4.5 |
[Code source] [Imprimer] [Statistiques]
(pas de description)
Poids: | 174 lignes (6 kb) |
Inclus ou requis: | 0 fois |
Référencé: | 1 fois |
Nécessite: | 0 fichiers |
MDB_Date:: (7 méthodes):
mdbNow()
mdbToday()
mdbTime()
date2Mdbstamp()
unix2Mdbstamp()
mdbstamp2Unix()
mdbstamp2Date()
mdbNow() X-Ref |
return the current datetime return: string current datetime in the MDB format |
mdbToday() X-Ref |
return the current date return: string current date in the MDB format |
mdbTime() X-Ref |
return the current time return: string current time in the MDB format |
date2Mdbstamp($hour = NULL, $minute = NULL, $second = NULL,$month = NULL, $day = NULL, $year = NULL) X-Ref |
convert a date into a MDB timestamp param: integer $hour hour of the date param: integer $minute minute of the date param: integer $second second of the date param: integer $month month of the date param: integer $day day of the date param: integer $year year of the date return: string a valid MDB timestamp |
unix2Mdbstamp($unix_timestamp) X-Ref |
convert a unix timestamp into a MDB timestamp param: integer $unix_timestamp a valid unix timestamp return: string a valid MDB timestamp |
mdbstamp2Unix($mdb_timestamp) X-Ref |
convert a MDB timestamp into a unix timestamp param: integer $mdb_timestamp a valid MDB timestamp return: string unix timestamp with the time stored in the MDB format |
mdbstamp2Date($mdb_timestamp) X-Ref |
convert a MDB timestamp into an array containing all values necessary to pass to php's date() function param: integer $mdb_timestamp a valid MDB timestamp return: array with the time split |
Généré le : Sun Feb 25 14:08:00 2007 | par Balluche grâce à PHPXref 0.7 |