hi, I am using Castle ActiveRecord for my application. My problem is how to use a datetime string in HQL like this (without using parameters):
"from Contact c where c.DayOfBirth = '5/3/1988'"
hi, I am using Castle ActiveRecord for my application. My problem is how to use a datetime string in HQL like this (without using parameters):
"from Contact c where c.DayOfBirth = '5/3/1988'"
Try using YYYY-MM-DD format:
from Contact c where c.DayOfBirth = '1988-05-03'