Topic: 请教:如何计算两个日期的差值

  Print this page

1.请教:如何计算两个日期的差值 Copy to clipboard
Posted by: sc33
Posted on: 2003-05-26 09:25


2.Re:请教:如何计算两个日期的差值 [Re: sc33] Copy to clipboard
Posted by: film2000
Posted on: 2003-05-26 13:42

long diffDays = (date1.getTime()- date2.getTime())/(24*60*60*1000);


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923