Skip to main content
This topic has been closed for replies.

2 replies

itisdesign_-_AH
Inspiring
December 23, 2012

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

Known Participant
November 4, 2012

It says "m or M" is deprecated, but you still put it in the parameters mask and don't include the "n or N"

Inspiring
November 4, 2012

Yeah, it should be removed from the examples, too.

--

Adam