if(new Date().time.valueOf()-lastDate.valueOf() > 0)
{
return true;
}
else
{
reutrn false;
}
if(new Date().time.valueOf()-lastDate.valueOf() > 0)
{
return true;
}
else
{
reutrn false;
}
转载于:https://www.cnblogs.com/zcy_soft/archive/2011/03/07/1973874.html