How can I calculate the difference between two dates?

后端 未结 9 1355
渐次进展
渐次进展 2020-11-28 02:27

How can I calculate the days between 1 Jan 2010 and (for example) 3 Feb 2010?

9条回答
  •  失恋的感觉
    2020-11-28 03:28

    You can find the difference by converting the date in seconds and take time interval since 1970 for this and then you can find the difference between two dates.

提交回复
热议问题