Copy link to clipboard
Copied
This question was posted in response to the following article: http://help.adobe.com/en_US/ColdFusion/10.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-6de0.html
Copy link to clipboard
Copied
It says "m or M" is deprecated, but you still put it in the parameters mask and don't include the "n or N"
Copy link to clipboard
Copied
Yeah, it should be removed from the examples, too.
--
Adam
Copy link to clipboard
Copied
Currently, timeFormat()'s Parameters table suggests that there is a limit to the number of times a masking character can be repeated. This is not true. The following are all valid: 'hhh','HHHH','nnnnn','ssssss','lllllll'.
This is especially important for milliseconds, which are often measured using 3+ digits.
Suggested wording to add within the Parameters table:
-ll or LL: milliseconds; leading zero for single-digit milliseconds (to add additional leading zeros, repeat the l or L character)
Thanks!,
-Aaron