Deciphering report_deadline value

Questions and Answers : Unix/Linux : Deciphering report_deadline value
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Trane Francks

Send message
Joined: 18 Jun 99
Posts: 221
Credit: 122,319
RAC: 0
Japan
Message 27964 - Posted: 19 Sep 2004, 9:42:25 UTC

Sorry for the dumb question, but I'm whipping up a little Kylix app that shows me the result name, progress, cpu time and deadline for the currently active result. Would some kind soul give me the formula for transforming the integer value of report_deadline into a date?

T'anks.

ID: 27964 · Report as offensive
Profile Trane Francks

Send message
Joined: 18 Jun 99
Posts: 221
Credit: 122,319
RAC: 0
Japan
Message 28254 - Posted: 20 Sep 2004, 4:40:15 UTC - in response to Message 28135.  

> The value is a standard timestamp... it is seconds since 00:00:00 Jan 1,
> 1970, UTC. There are several standard functions in just about every
> programming language to convert this into a a date string, or to extract parts
> such as month and day, etc.

Thanks, mate. That's what I needed to know.

trane

ID: 28254 · Report as offensive
Profile Trane Francks

Send message
Joined: 18 Jun 99
Posts: 221
Credit: 122,319
RAC: 0
Japan
Message 28407 - Posted: 20 Sep 2004, 16:41:50 UTC
Last modified: 20 Sep 2004, 16:53:55 UTC

Okay, BOINCprog 1.0 is out of the gate. If anybody might be interested in having a look, please drop by http://www2.gol.com/users/trane/programming/programming.html for a look at the screenshot. If you like what you see, feel free to download the tar.gz file.

Let me know if you have any trouble.

trane

ID: 28407 · Report as offensive

Questions and Answers : Unix/Linux : Deciphering report_deadline value


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.