dtcurrent()

Returns the current date and time.

Syntax

void dtcurrent(dtime_t *d);
  1. d is a pointer to the initialized datetime host variable.
  2. The function extends the current date and time to agree with the qualifier of the host variable.