开发者

How to calculate the time difference between two days in seconds

i have a php page .

Here i will get the start time as query string (eg $startTime= '8/27/2010 1:15:17 PM')

Now i need to find out the total seconds between the current time and started time

Ho开发者_开发问答w can i find out this in php


echotime()-strtotime($startTime);

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜