localtime man page on Cygwin

Man page or keyword search:  
man Server   22533 pages
apropos Keyword Search (all sections)
Output format
Cygwin logo
[printable version]

LOCALTIME(3)			    NEWLIB			  LOCALTIME(3)

NAME
       9.6 `localtime'--convert time to local representation

SYNOPSIS
	    #include <time.h>
	    struct tm *localtime(time_t *CLOCK);
	    struct tm *localtime_r(time_t *CLOCK, struct tm *RES);

DESCRIPTION
       `localtime'  converts  the time at CLOCK into local time, then converts
       its representation from the arithmetic  representation  to  the	tradi‐
       tional representation defined by `struct tm'.

	  `localtime' constructs the traditional time representation in static
       storage; each call to `gmtime' or `localtime' will overwrite the infor‐
       mation generated by previous calls to either function.

	  `mktime' is the inverse of `localtime'.

RETURNS
       A pointer to the traditional time representation (`struct tm').

PORTABILITY
       ANSI C requires `localtime'.

	  `localtime' requires no supporting OS subroutines.

SEE ALSO
       localtime  is part of the library.  The full documentation for is main‐
       tained as a Texinfo manual.  If info and are properly installed at your
       site, the command

	      info

       will give you access to the complete manual.

NEWLIB				  April 2010			  LOCALTIME(3)
[top]

List of man pages available for Cygwin

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net