The lib_date.php library was missing in the Search object file. It is required to make date conversion in that object.
@@ -1,5 +1,7 @@
<?php
+require_once(LIB_PATH . '/lib_date.php');
+
/**
* Contains a search from the search form.
*