If you look at /usr/include/bits/utmp.h you'll see that ut_time is actually defined as ut_tv.tv_sec:
Quote:
/* Backwards compatibility hacks. */
#define ut_name ut_user
#ifndef _NO_UT_TIME
/* We have a problem here: `ut_time' is also used otherwise. Define
_NO_UT_TIME if the compiler complains. */
# define ut_time ut_tv.tv_sec
#endif
#define ut_xtime ut_tv.tv_sec
#define ut_addr ut_addr_v6[0]
|
So what you're getting is probably the time in seconds since epoch, you'll need to convert it to a date format.
Ideally you'd change your code to use the new value