Skip to Content.
Sympa Menu

perfsonar-user - [perfsonar-user] bwctl timestamps

Subject: perfSONAR User Q&A and Other Discussion

List archive

[perfsonar-user] bwctl timestamps


Chronological Thread 
  • From: "Hummel, Homer (173D-Affiliate)" <>
  • To: "" <>
  • Subject: [perfsonar-user] bwctl timestamps
  • Date: Thu, 18 Sep 2014 00:32:34 +0000
  • Accept-language: en-US

When I run ‘bwctl [other options] –v’, I see timestamps such as the following:

bwctl: start_tool: 3619858998.440725

 

But when I use the localtime function in Perl to convert the above timestamp to wall-clock date/time, which assumes that the beginning of the epoch is year 1900, I get a date that doesn’t make sense, as in the following conversion of the above timestamp:

Tool start time: 2084-09-15 05:23:18

 

The time of day looks okay, but I expected the date to be 2014-09-16

 

How can I convert the timestamp of ‘bwctl’ to a wall-clock date/time correctly?

 

Homer Hummel

 

 




Archive powered by MHonArc 2.6.16.

Top of Page