by Dinesh Thakur

 

 

 

 

 #include <time.h>
  #include <stdio.h> 

int main(void)
  {
    time_t lt;   

lt = time(NULL);
    printf(ctime(&lt));   

return 0;
  }