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:
fred
2017-04-26 11:22:56 +02:00
parent 37a9fd9e1b
commit 472be3b071
7 changed files with 508 additions and 23 deletions

View File

@@ -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);
}
}