GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
date.c File Reference

GIS Library - Date functions. More...

#include <time.h>
#include <grass/gis.h>
Include dependency graph for date.c:

Go to the source code of this file.

Functions

char * G_date (void)
 Current date and time. More...
 

Detailed Description

GIS Library - Date functions.

(C) 2001-2008 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Author
GRASS GIS Development Team
Date
1999-2008

Definition in file date.c.

Function Documentation

char* G_date ( void  )

Current date and time.

Returns a pointer to a string which is the current date and time. The format is the same as that produced by the UNIX date command.

Returns
Pointer to a string holding date/time

Definition at line 30 of file date.c.

References localtime().

Referenced by E_edit_history(), G_short_history(), Vect__init_head(), and Vect_hist_command().