GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <stdio.h>
#include <string.h>
#include <grass/datetime.h>
Go to the source code of this file.
Functions | |
int | datetime_format (const DateTime *dt, char *buf) |
formats DateTime structure as a human-readable string returns 0 when successful and 'buf' is filled with the string returns a negative number on error More... | |
int datetime_format | ( | const DateTime * | dt, |
char * | buf | ||
) |
formats DateTime structure as a human-readable string returns 0 when successful and 'buf' is filled with the string returns a negative number on error
dt | |
buf |
Definition at line 28 of file datetime/format.c.
References datetime_decompose_timezone(), datetime_error_code(), datetime_get_day(), datetime_get_fracsec(), datetime_get_hour(), datetime_get_minute(), datetime_get_month(), datetime_get_second(), datetime_get_timezone(), datetime_get_year(), datetime_is_absolute(), datetime_is_negative(), datetime_is_relative(), datetime_is_valid_type(), n, and sprintf().
Referenced by G_format_timestamp().