programming:c:mktimeWhat links here?
Convert tm structure to time_t

Interprets the contents of the tm structure pointed by timeptr as a calendar time expressed in local time. This calendar time is used to adjust the values of the members of timeptr accordingly and returned as an object of type time_t.

The original values of the members tm_wday and tm_yday of timeptr are ignored, and the ranges of values for the rest of its members are not restricted to their normal values (like tm_mday being between 1 and 31).

The object pointed by timeptr is modified, setting the tm_wday and tm_yday to their appropiate values, and modifying the other members as necessary to values within the normal range representing the specified time.



Parameters



Return Value

A time_t value corresponding to the calendar time passed as argument. On error, a -1 value is returned.
programming:c:mktime
programming - windows - WM_SETTEXT
programming:c:functions:strnpos
programming:c:NULL
file formats - PDF - Text State Parameters
file formats - PDF - Graphics State
programming:c:time_t
programming:DDE:Excel DDE Server
programming:windows:window value offsets
file formats - PDF - stream objects
tk:tk_menus
tk:tk_label
programming:c:C functions
programming:c:functions:_makepath
programming:c:function strdup
code vault - strtail
linux - users
programming - DDE - WinWord DDE Server
filename:programming:c:mktime
filename:programming%3Ac%3Amktime
last edit:April 10 2009 02:39:12 (6425 days ago)
ct = 1794509849.000000 = November 12 2026 18:57:29
ft = 1239331152.000000 = April 10 2009 02:39:12
dt = 555178697.000000