+ 2
Are there any way to print the current day or month in C??
We can print the full time and date easily. Code example>>> https://code.sololearn.com/c48hlIR8vb3A/#c But how to print only the current day or month???
3 Antworten
+ 6
Use search in code section {}. You will find enough examples.
https://code.sololearn.com/cTmNfPysVZq3/?ref=app
+ 3
In the code you have attached if you use (tm_wday) then it will give you the current day of the week(1-7).
+ 3
Thanks Arsenic and Mihai Apostol to help ...