hi,
could you provide me by an example about how can i use this function
char* ctime(const time_t* timer)
thanks a lot
hi,
could you provide me by an example about how can i use this function
char* ctime(const time_t* timer)
thanks a lot
proud to be from aui www.aui.ma and also a great elton john's fan
is there any other method where i can only take the time stored in the computer calendar and use it in my program?
proud to be from aui www.aui.ma and also a great elton john's fan
>could you provide me by an example about how can i use this function
Code:#include <stdlib.h> #include <stdio.h> #include <time.h> int main(void) { time_t cur_time; cur_time = time(NULL); printf("%s", ctime(&cur_time)); return 0; }
thanks a lot
proud to be from aui www.aui.ma and also a great elton john's fan