Dateformat vs Timeformat off by 1 minute = bug?
Can anyone confirm they are seeing this and if so is it a bug or a feature ![]()
<cfset mydate = "01/17/2010 12:00:05 AM">
<cfset newdate = dateadd("h", -7, mydate)>
#dateformat(newdate,"mm/dd/yyyy hh:mm:ss")#
#DateFormat(newdate, "mm/dd/yyyy")# #TimeFormat(newdate, "hh:mm:ss tt")#
returns
01/16/2010 05:01:05
01/16/2010 05:00:05 PM
Why the time difference of 1 minute?
