Database::formatDate*() - fixed format bugs