On 20Dec2020 16:31, ToddAndMargo <toddandma...@zoho.com> wrote:
>I just want to read the time back from the system.

Then you want time(2). From "man 2 time":

NAME
   time - get time in seconds

SYNOPSIS
   #include <time.h>

   time_t time(time_t *tloc);

DESCRIPTION
   time()  returns  the  time  as  the  number of seconds since the Epoch,
   1970-01-01 00:00:00 +0000 (UTC).

   If tloc is non-NULL, the return value is  also  stored  in  the
   memory pointed to by tloc.

Cheers,
Cameron Simpson <c...@cskk.id.au>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to