Title:
[ANeff] ER for: millisecond() and createDateTime(year,month,day,hour,minute,second,millisecond)
| View in TrackerStatus/Resolution/Reason: To Test//Fixed
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 12/14/2012
Components: Language
Versions: 2016,11.0,10.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Platforms All
Vote Count: 4
Currently, there is no millisecond() function and createDateTime() doesn't support a millisecond parameter.
Please consider this example:
<cfscript>
myVar = createDateTime(2012,1,2,3,4,5);
myVar = dateAdd("l", 6, myVar);//ER: createDateTime(year,month,day,hour,minute,second,millisecond)
writeOutput(dateTimeFormat(myVar, "yyyy-m-d H:n:s:l") & '<br />');//milliseconds supported here, good
writeOutput(year(myVar) & '-' & month(myVar) & '-' & day(myVar) & ' ' & hour(myVar) & ':' & minute(myVar) & ':' & second(myVar));//ER: millisecond(myVar)
</cfscript>
Milliseconds are important too.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3429713
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
Comments: