开发者

Flex : converting seconds to readable english

开发者 https://www.devze.com 2022-12-24 08:04 出处:网络
For example : input = 360 seconds output= 6 minutes input = 86400 output = 1 开发者_JAVA技巧day Is there a built-in method for this.

For example :

input = 360 seconds

output = 6 minutes

input = 86400

output = 1 开发者_JAVA技巧day

Is there a built-in method for this.

I did find something similar here.

Just want to know if there is a built-in method?


As far as I know, there is no built-in method to achieve this.


not per se, but the use of the Date class makes this pretty straight-forward.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号