mirror of
https://github.com/reactos/reactos.git
synced 2024-10-19 15:41:31 +00:00
fae2044a23
Integrate cmake stuff into trunk Only files added. svn path=/trunk/; revision=51783
14 lines
229 B
C
14 lines
229 B
C
#include <stdio.h>
|
|
#include <time.h>
|
|
void main()
|
|
{
|
|
char curdate[9];
|
|
time_t now;
|
|
struct tm *tm_now;
|
|
|
|
time(&now);
|
|
tm_now=localtime(&now);
|
|
strftime(curdate, sizeof(curdate), "%Y%m%d", tm_now);
|
|
printf("%s", curdate);
|
|
}
|