@node setdate, time @subheading Syntax @example #include void setdate(struct date *ptr); @end example @subheading Description This function sets the current time. For the description of @code{struct date}, see @ref{getdate}. Also see @ref{settime}. @subheading Return Value None. @subheading Portability @portability !ansi, !posix @subheading Example @example struct date d; setdate(&d); @end example