I have a SQL query below and its getting 1 day behind date from CRM insurance type expiry dates in the SQL query. The expiry dates for insurance types in CRM are 04/04/2017 and in the query its 03/04/2017, please advise do I use UTC now?
select CASE mm_insurance.mm_insurancetype
WHEN 930720000 THEN 'Airside Liability Insurance'
WHEN 930720001 THEN 'Contractors All Risks'
WHEN 930720002 THEN 'Employers Liability Insurance'
WHEN 930720003 THEN 'Product Liability Insurance'
WHEN 930720004 THEN 'Professional Indemnity Insurance'
WHEN 930720005 THEN 'Public Liability Insurance'
WHEN 7930720006 THEN 'Removals and Storage Liability'
ELSE ''
END AS InsuranceType, Format(mm_insurance.mm_expirydate , 'dd/MM/yyyy') as InsuranceExpiry
from mm_insurance where mm_account = '40600D69-068A-E611-810E-005056956082' and mm_expirydate between '03/04/2017' AND '05/04/2017'
results is 03/04/2017 when I should be getting 04/04/2017