As in the title, is there a way to give an integer the value of the current month like:
int month=stuff
Is it even possible? I can't use asctime as it would give me a string with the complete date and I only need to get the current month as an integer. Any ideas?