PetscGetDate

Gets the current date.

Synopsis

int PetscGetDate(char date[],int len)
Not collective

Input Parameter

len -length of string to hold date

Output Parameter

date -the date

Notes

This is Y2K compliant.

This function DOES make a system call and thus SHOULD NOT be called from an error handler. Use PetscGetInitialDate() instead.

See Also

PetscGetInitialDate()

Level:beginner
Location:
src/sys/src/time/fdate.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages