How do i store today's date in variable?
Hi all !
im working on project currently (console). Its a program that needs to print reports at some point along with the date that the report has been created.
So my question is.. how do i store the date in a variable in any of the usual formats (like dd-mm-yy or dd month yy ..etc) so i can put them in the report?? if you could also show how to print the time i'd appreciate it..
Note :
i've searched the C board for threads on this topics but most of them were complicated or don't show what kind of arguments some functions should take.
thanks in advace :)