Backend GTGOnline for GTG Python3

A more elegant code:

```python

if without_time:
  dt_format = self.CONVERT_24_HR
else:
  dt_format = self.CONVERT_24_HR_WITH_TIME
datetime_obj = datetime.datetime.strptime(date_str, dt_format)
```