1 .\" $NetBSD: offtime.3,v 1.4 2017/10/25 19:01:25 abhinav Exp $
2 .\" Written by Klaus Klein, May 10, 2004.
11 .Nd convert date and time
17 .Fn offtime "const time_t * clock" "long int offset"
19 .Fn timeoff "struct tm * tm" "long int offset"
21 .Fn timelocal "struct tm * tm"
23 These functions are inspired by C standard interfaces named similarly.
26 converts the calendar time
31 into broken-down time, expressed as Coordinated Universal Time (UTC).
34 converts the broken-down time
40 into a calendar time value.
43 converts the broken down time
45 expressed as local time, into a calendar time value.
46 It is equivalent to the C standard function
48 and is provided for symmetry only.