2021年3月30日星期二

Calculate the time difference

I am trying to calculate time difference between 2 ZonedTime dates in Scala. I am receiving dates in "2021-03-19T15:39:42.834248-07:00" format as a String. I need the difference in seconds between 2 dates in Scala. How to convert the string to zoned time and calculate the difference?

https://stackoverflow.com/questions/66879491/calculate-the-time-difference March 31, 2021 at 06:52AM

没有评论:

发表评论