www.delorie.com/djgpp/doc/libc-2.01/libc_469.html   search  
Go to the first, previous, next, last section, table of contents.


mktime

Syntax

#include <time.h>

time_t mktime(struct tm *tptr);

Description

This function converts a time structure into the number of seconds since 00:00:00 GMT 1/1/1970. It also attempts to normalize the fields of tptr.

Return Value

The resulting time, or -1 if the time in tptr cannot be described in that format.


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997