1 .\" $NetBSD: offtime.3,v 1.3 2011/04/14 05:50:50 jruoho Exp $
2 .\" Written by Klaus Klein, May 10, 2004.
12 .Nd convert date and time
18 .Fn offtime "const time_t * clock" "long int offset"
20 .Fn offtime_r "const time_t * clock" "long int offset" "struct tm *ret"
22 .Fn timeoff "struct tm * tm" "long int offset"
24 .Fn timegm "struct tm * tm"
26 .Fn timelocal "struct tm * tm"
28 These functions are inspired by C standard interfaces named similarly.
31 converts the calendar time
36 into broken-down time, expressed as Coordinated Universal Time (UTC).
41 but it places the returned
48 converts the broken-down time
54 into a calendar time value.
57 converts the broken-down time
59 into a calendar time value, effectively being the inverse of
61 It is equivalent to the C standard function
66 converts the broken down time
68 expressed as local time, into a calendar time value.
69 It is equivalent to the C standard function
71 and is provided for symmetry only.