GINO Graphics Suite - GINO v9.0  

gEnqSysDate

Syntax

[C/C++:]
void gEnqSysDate(GDATE *date);
char * gEnqSysDateStr(char datestr[], int slen);
[F90:]
subroutine gEnqSysDate(date)
subroutine gEnqSysDateStr(datestr)

type (GDATE), intent(out) :: date
character*(*), intent(out) :: datestr

Arguments

date
Current year/month/day

datestr
System date/time string

slen
Length of date string (C/C++ only)

Description

The system utilities gEnqSysDate() and gEnqSysDateStr() return the current system date as either a structure containing year, month and day integer elements or as a string.

The routine gEnqSysDateStr() returns the system date/time as a character string, the format of which is system dependent.

The C/C++ binding of gEnqSysDateStr() returns the date either in the string datestr of length slen or (if datestr is NULL) as a pointer to a character string that has been malloc'ed internally and which should be freed after use with the function free. In the Fortran 90 binding the date is returned in the character argument datestr. If this is not large enough to contain the date it will be truncated.

See Also

gEnqSysDate Usage
gEnqSysTime