2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
5 Convert a time into a string.
8 extern long __gmtoffset
;
10 /*****************************************************************************
15 struct tm
* localtime (
21 Splits the system time in seconds into a structure.
22 The members of the tm structure are:
25 \item {tm_sec} The number of seconds after the minute, normally in
26 the range 0 to 59, but can be up to 61 to allow for leap
29 \item{tm_min} The number of minutes after the hour, in the range 0
32 \item{tm_hour} The number of hours past midnight, in the range 0 to
35 \item{tm_mday} The day of the month, in the range 1 to 31.
37 \item{tm_mon} The number of months since January, in the range 0 to
40 \item{tm_year} The number of years since 1900.
42 \item{tm_wday} The number of days since Sunday, in the range 0 to
45 \item{tm_yday} The number of days since January 1, in the range 0
48 \item{tm_isdst} A flag that indicates whether daylight saving time
49 is in effect at the time described. The value is positive
50 if daylight saving time is in effect, zero if it is not,
51 and negative if the information is not available.
56 tt - A time in seconds from the 1. Jan 1970
59 A statically allocated buffer with the broken up time. Note that
60 the contents of the buffer might get lost with the call of any of
61 the date and time functions.
64 This function must not be used in a shared library or
65 in a threaded application.
80 time(), ctime(), asctime()
84 ******************************************************************************/
88 ti
-= __gmtoffset
* 60;