Fix DateManager and add method getStringDate() to the DateManager class