man krb5_us_timeofday (Fonctions bibliothèques) - krb5_timeofday
NAME
LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5)
SYNOPSIS
krb5_timestamp ;
krb5_deltat ; krb5_context context krb5_timestamp sec int32_t usec krb5_context context krb5_timestamp *timeret krb5_context context krb5_timestamp *sec int32_t *usec krb5_context context time_t t char *s size_t len krb5_boolean include_time const char *string krb5_deltat *deltat
DESCRIPTION
sets the absolute time that the caller knows the KDC has. With this the to the Kerberos library can calculate the relative diffrence beteen the KDC time and the local system time and store it in the content . With this information the Kerberos library can adjust all time stamps Kerberos packages.
krb5_timeofday returns the current time, but adjusted with the time difference between the local host and the KDC. krb5_us_timeofday also returns microseconds.
krb5_format_time formats the time t into the string s of length len . If include_time is set, the time is set include_time.
krb5_string_to_deltat Parses delta time string into deltat .