add midnigh time to a date
Hi,
<cfset endDate = DateAdd("d", 1, endDate)> this will add one date into the endDate. Instead of add one date, i want it to add the midnigh time to the endDate. such as: 2012/10/01 23:59:59
i had tried this
<cfset endDate= DateAdd("ms",86399997,endDate) /> but got errror below
ms is not a valid date/time format.
anyone can help me with this?
Thanks