We have date for example:
char date[100] = "04/05/1900";
In excel you can convert it to integer. For example 04/05/1900 = 125.
There is a library or function in C that converts the date to an integer and vice versa?
This is for my program in University, task which I should make in C.
char date[100] = "04/05/1900";
int number = 125;
int convertDatoToInteger(date);
char convertIntegerToDate(number);
I expect the output of 04/05/1900 to be 125. And the output of 125 to be 04/05/1900.