I have a form which takes a date time entry. I now need to write a SQL query to check for overlap as a validation but have just discovered that the data type is longtext. Does anyone have any suggestions for how to do a date query in this context?
Thats a great suggestion and I’m trying it now but will it treat the data as a date or string? In other words can I search for dates as of a specific date and time up to a specific date and time?