MySQL Datetime column compare in script issue

Photo shows MySQL:

1

This is how I defined the DataSet:

from java.lang import Integer, String
from java.util import Date
from com.inductiveautomation.ignition.common.util import DatasetBuilder
	
pyData = system.dataset.toPyDataSet(data)
b = DatasetBuilder.newBuilder().colNames('StartDate', 'EndDate', 'Duration', 'Id', 'Devices', 'Reason', 'Notes').colTypes(Date, Date, Integer, Integer, Integer, Integer, String)
for row in pyData:
	b.addRow(row[0], row[1], row[2], row[3], row[4], row[5], row[6])
return b.build()

When you say custom datetime, are you referring to MySQL or Ignition?