DOKK / manpages / debian 10 / systemtap-doc / function::tz_ctime.3stap.en
FUNCTION::TZ_CTIME(3stap) Time utility functions FUNCTION::TZ_CTIME(3stap)

function::tz_ctime - Convert seconds since epoch into human readable date/time string, with local time zone


tz_ctime(epochsecs:)

epochsecs

number of seconds since epoch (as returned by gettimeofday_s)

Takes an argument of seconds since the epoch as returned by gettimeofday_s. Returns a string of the same form as ctime, but offsets the epoch time for the local time zone, and appends the name of the local time zone. The string length may vary. The time zone information is passed by staprun at script startup only.

tapset::tzinfo(3stap)

October 2018 SystemTap Tapset Reference