Hello,
I am trying to write a piece of code in C that will return to me the current year that is set by the system clock. The C program is written on a Unix system. So, basically, in the C program I want to call some function or use some method that will return to me the current year to a variable; something like:
char *temp;
temp = "command to return the year"
Can anyone help me with this? Thanks.