为什么不用Date?
把字符串转成Date .然后
Date.getTime()得到的是毫秒数
(Date1.getTime()-Date2.getTime())/1000   就是秒啦 !!!