[Cialug] Seconds only timestamp

Dave Weis djweis at sjdjweis.com
Wed Jun 18 11:54:39 CDT 2014


Number of seconds since when?



On Sun, Jun 15, 2014 at 6:52 PM, Brian Wood <woodbrian77 at gmail.com> wrote:

> Is there an api that returns just the number of seconds?  Currently
> I'm using clock_gettime and  CLOCK_REALTIME_COARSE.  The
> docs say that CLOCK_REALTIME_COARSE is;
>
> "A faster but less precise version of CLOCK_REALTIME."
>
> I don't know how coarse it is, but I only care about the seconds.
>
> Thanks.
>
> --
> Brian
> Ebenezer Enterprises - So far G-d has helped us.
> http://webEbenezer.net
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>


More information about the Cialug mailing list