What format string do I use for milliseconds in date strings on iPhone?

前端 未结 4 2220
悲&欢浪女
悲&欢浪女 2020-11-29 02:24

I\'m required to parse strings in a format that includes milliseconds. What format string do I use to get the right date value?

For example, suppose I have a string

4条回答
  •  一生所求
    2020-11-29 03:12

    The Date Format Patterns guide suggests that "S" is the format specifier for fractions of seconds.

提交回复
热议问题