programming - C - function mktimeWhat links here?
Convert tm structure to time_t as local time

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 - function mktime
programming:c:function ispunct
Retirement - Investments
Retirement - Medicare
Firearms - Building Guns
Firearms - suppressors
Retirement - state taxes
science - dna transcription and translation
Retirement - states that tax social security benefits
Retirement - states with no sales tax
Retirement - states with no income tax
filename:programming - C - function mktime
filename:programming%20%2D%20C%20%2D%20function%20mktime
last edit:March 16 2013 21:09:10 (4741 days ago)
ct = 1773152992.000000 = March 10 2026 10:29:52
ft = 1363482550.000000 = March 16 2013 21:09:10
dt = 409670442.000000