GRASS GIS 7 Programmer's Manual  7.9.dev(2021)-e5379bbd7
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

◆ G_date()

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.

Referenced by Vect__init_head(), and Vect_hist_command().