Bug fix: DateTime import

The datetime module was being imported rather than the datetime object.