GRASS GIS 7 Programmer's Manual  7.5.svn(2017)-r71806
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends 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

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

Detailed Description

GIS Library - Date functions.

(C) 2001-2009 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
Original author CERL

Definition in file date.c.

Function Documentation

const 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 26 of file date.c.

References G_initialize_done(), G_is_initialized(), G_store(), and localtime().

Referenced by Rast_short_history(), Vect__init_head(), and Vect_hist_command().