ILIAS
Release_4_0_x_branch Revision 61816
|
Public Member Functions | |
mdbNow () | |
return the current datetime | |
mdbToday () | |
return the current date | |
mdbTime () | |
return the current time | |
date2Mdbstamp ($hour=null, $minute=null, $second=null, $month=null, $day=null, $year=null) | |
convert a date into a MDB2 timestamp | |
unix2Mdbstamp ($unix_timestamp) | |
convert a unix timestamp into a MDB2 timestamp | |
mdbstamp2Unix ($mdb_timestamp) | |
convert a MDB2 timestamp into a unix timestamp | |
mdbstamp2Date ($mdb_timestamp) | |
convert a MDB2 timestamp into an array containing all values necessary to pass to php's date() function |
MDB2_Date::date2Mdbstamp | ( | $hour = null , |
|
$minute = null , |
|||
$second = null , |
|||
$month = null , |
|||
$day = null , |
|||
$year = null |
|||
) |
convert a date into a MDB2 timestamp
int | hour of the date |
int | minute of the date |
int | second of the date |
int | month of the date |
int | day of the date |
int | year of the date |
Definition at line 122 of file Date.php.
References unix2Mdbstamp().
MDB2_Date::mdbNow | ( | ) |
return the current datetime
Definition at line 73 of file Date.php.
Referenced by Log_mdb2\log().
MDB2_Date::mdbstamp2Date | ( | $mdb_timestamp | ) |
convert a MDB2 timestamp into an array containing all values necessary to pass to php's date() function
int | a valid MDB2 timestamp |
Definition at line 174 of file Date.php.
Referenced by mdbstamp2Unix().
MDB2_Date::mdbstamp2Unix | ( | $mdb_timestamp | ) |
convert a MDB2 timestamp into a unix timestamp
int | a valid MDB2 timestamp |
public
Definition at line 155 of file Date.php.
References mdbstamp2Date().
MDB2_Date::mdbTime | ( | ) |
MDB2_Date::mdbToday | ( | ) |
MDB2_Date::unix2Mdbstamp | ( | $unix_timestamp | ) |
convert a unix timestamp into a MDB2 timestamp
int | a valid unix timestamp |
Definition at line 139 of file Date.php.
Referenced by date2Mdbstamp().