How to print time up to 6 digits of precision for seconds value

前端 未结 4 744
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-01 23:58

I have a value in column which is of type timestamp. Lets say I have a value 2007-05-04 08:48:40.969774

Now, when trying to fetch the value from the

4条回答
  •  没有蜡笔的小新
    2021-01-02 00:53

    In Java 8 and later, the java.time package has support for parsing and manipulating date/times to nanosecond precision. That means up to 9 digits in the fraction of a second.

提交回复
热议问题