diff --git a/phpgwapi/inc/class.db_mssql.inc.php b/phpgwapi/inc/class.db_mssql.inc.php index 5b60f7c597..4c7aa020ad 100644 --- a/phpgwapi/inc/class.db_mssql.inc.php +++ b/phpgwapi/inc/class.db_mssql.inc.php @@ -102,12 +102,12 @@ // I don't have access to M$-SQL, can someone finish these 2 functions ? (jengo) function to_timestamp($epoch) { - return False; + return date('Y-m-d H:i:s', $epoch); } function from_timestamp($timestamp) { - return False; + return strtotime($timestamp); } // public: perform a query with limited result set