projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[MSPORTS]
[reactos.git]
/
reactos
/
tools
/
getdate.c
1
#include <stdio.h>
2
#include <time.h>
3
void
main
()
4
{
5
char
curdate
[
9
];
6
time_t
now
;
7
struct
tm
*
tm_now
;
8
9
time
(&
now
);
10
tm_now
=
localtime
(&
now
);
11
strftime
(
curdate
,
sizeof
(
curdate
),
"%Y%m%d"
,
tm_now
);
12
printf
(
"%s"
,
curdate
);
13
}