1FUNCTION::TZ_CTIME(3stap) Time utility functions FUNCTION::TZ_CTIME(3stap)
2
3
4
6 function::tz_ctime - Convert seconds since epoch into human readable
7 date/time string, with local time zone
8
10 tz_ctime(epochsecs:)
11
13 epochsecs
14 number of seconds since epoch (as returned by gettimeofday_s)
15
17 Takes an argument of seconds since the epoch as returned by
18 gettimeofday_s. Returns a string of the same form as ctime, but offsets
19 the epoch time for the local time zone, and appends the name of the
20 local time zone. The string length may vary. The time zone information
21 is passed by staprun at script startup only.
22
23
24
25SystemTap Tapset Reference August 2011 FUNCTION::TZ_CTIME(3stap)