clinks_localtime
status.i4.v = clinks_localtime(clinks.u4.v, local_time.s.r)
This routine converts clinks to a broken down local time. Please
see clinks_now for the definition of clinks
clinks time in clinks
local_time broken down local time (structure of type tm)
This function returns ACNET status values as follows:
OK success
CLIB_INVARG invalid clink value supplied
This function requires the following include files:
clib_h, time.h, acnet_errors_h
Related functions:
clinks_to_date, date_to_clinks, clinks_now,
clinks_to_day_of_week_c, get_date_clinks, clinks_is_dst_c,
convert_compare_date_to_clinks db_date_to_clinks,
db_date_to_date_c, convert_seconds_c, clinks_to_special_time_c,
clinks_to_seconds_into_day_c, timezone_info
C/C++ usage:
int status;
unsigned int clinks = 811353627;
struct tm local_time;
status = clinks_localtime(clinks,&local_time);