01-22-2013 08:09 PM
I just found the timetrp in SNMP table is something like,
besagentUsersLastTimesPropertylastContact.1.43.5 = 1358902257
My problem is, how can i convert the number 1358902257 to the datetime? shame, i didn't found any clue on google.
Solved! Go to Solution.
01-23-2013 08:53 PM
i think just figured it out,
this timestrap is counted by seconds, means 1358902257 seconds, but how to convert it to time of 2013/01/20?
i used powershell to convert, here is the command.
([datetime]'1970-01-01' + (new-timespan -seconds 1358902257)).tolocaltime()
then, it's the right time, i should test other more times. haha
01-24-2013 09:37 AM
thanks for sharing your solution