delorie.com/djgpp/doc/libc/libc_538.html   search  
libc.a reference

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

localtime

Syntax

 
#include <time.h>

struct tm *localtime(const time_t *tod);

Description

Converts the time represented by tod into a structure, correcting for the local timezone. See gmtime, for the description of struct tm.

Return Value

A pointer to a static structure which is overwritten with each call.

Portability

ANSI/ISO C C89; C99
POSIX 1003.2-1992; 1003.1-2001


  webmaster     delorie software   privacy  
  Copyright © 2004     Updated Apr 2004