[EMAIL PROTECTED] wrote:
> The output looks like this:
> date1 => 2002101714:59:00
> date2 => 2002102510:47:56
> date3 => +0:0:1:0:19:48:56
> There's defintely 7+ days between these two dates, it shows 0 days,
> 19 hours, 48 minutes, 56 seconds.
Actually, it shows 1 week, 0 days, 19 hours, 48
I'm trying to determine the number of days, hours, minutes, seconds
since the last reboot of a server. With WMI I can get the date and time
of when that occurred. When I use Date::Manip to calculate the
difference between the current date/time and the last reboot, it comes
up incorrect.
Example