Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

TimeFormat

Explorer ,
Nov 04, 2012 Nov 04, 2012
757
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 04, 2012 Nov 04, 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"

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 04, 2012 Nov 04, 2012

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

--

Adam

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 23, 2012 Dec 23, 2012
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources