Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个问题,我需要从日期列表中找到任意两个给定日期之间的天数,是否有任何地方可以找出给定日期之间的天数。
给定的日期是: 06/06/2012 08/08/2012 10/10/2012 12/12/2012 和二月的最后一天
你正在寻找的东西是deltatime; 特别是,当您减去 2 个日期(时间)时,您会得到什么类型。
deltatime