ActionScript 3.0 + Calculate timespan between two dates?

后端 未结 7 1713
礼貌的吻别
礼貌的吻别 2020-12-01 10:00

In ActionScript 3.0, is there an automatic way to calculate the number of days, hours, minutes and seconds between two specified dates?

Basicly, what I need is the A

7条回答
  •  粉色の甜心
    2020-12-01 10:27

    ArgumentValidation is another class of Mr Szalays that does some checks to make sure each method has the right values to perform it's tasks without throwing unrecognisable errors. They are non-essential to get the TimeSpan class working so you could just comment them out and the class will work correctly.

    Rich may post the Argument validation class on here as well as it's very handy but i'll leave that down to him ;P

提交回复
热议问题