Added two new methods:
 - getDateToTimeString(Date date)