Import the MP2 users lists
Import the MP2 users Add the table "imported_data_mapping" Add the function Helpers::mysql_date
This commit is contained in:
@@ -136,4 +136,15 @@ class Helpers {
|
||||
static function splitObject($object = array()) {
|
||||
return explode(self::DIVIDER, $object);
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert a timestamp to a Mysql datetime
|
||||
*
|
||||
* @param int $timestamp Timestamp
|
||||
* @return string Datetime
|
||||
*/
|
||||
static function mysql_date($timestamp) {
|
||||
return date('Y-m-d H:i:s', $timestamp);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user