repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git]
/
ACE
/
examples
/
Misc
/
test_timestamp.cpp
blob
a0d3d6246dc1adf0addfac88136e3169d1992fae
1
// Test the ACE::timestamp method.
2
3
#include
"ace/OS_main.h"
4
#include
"ace/ACE.h"
5
#include
"ace/Log_Msg.h"
6
7
8
int
9
ACE_TMAIN
(
int
,
ACE_TCHAR
*[])
10
{
11
ACE_TCHAR day_and_time
[
27
];
12
ACE
::
timestamp
(
day_and_time
,
13
sizeof
day_and_time
);
14
15
ACE_DEBUG
((
LM_DEBUG
,
"%s"
,
day_and_time
));
16
17
return
0
;
18
}