displaying top 100 results
Tracker Comment Comment on Issue using "DateConvert("local2Utc",now())" with cfqueryparam by External U.
2612945 CF-3364479 External U. @CF_Coder,
Here is an example of enabling backward-compat on CF10:
local = now();
utc = dateConvert("local2utc", local);
if(SERVER.ColdFusion.ProductVersion gte 10) {
utc = createDateTime(year(utc), month(utc), day(utc), hour(utc), minute(utc), second
Tracker Comment Comment on Issue using "DateConvert("local2Utc",now())" with cfqueryparam by External U.
2612945 CF-3364479 External U. @CF_Coder,
CF10 changed the behavior of dateConvert(). In CF10, it only converts the string representation but not the underlying value. This is why cfquery w/o cfqueryparam mimics CF9 behavior while cfquery w/ cfqueryparam does not. This is also why serialize
",now()).
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3364479
External Customer Info:
External Company:
External Customer Name: CF_Coder
External Customer Email:
External Test Config: My Hardware and Environment details:
ColdFusion 10 Update 4 (Update Level: 04)
Tomcat Version 7