Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / ACE / examples / Misc / test_timestamp.cpp
bloba0d3d6246dc1adf0addfac88136e3169d1992fae
1 // Test the ACE::timestamp method.
3 #include "ace/OS_main.h"
4 #include "ace/ACE.h"
5 #include "ace/Log_Msg.h"
8 int
9 ACE_TMAIN (int, ACE_TCHAR *[])
11 ACE_TCHAR day_and_time[27];
12 ACE::timestamp (day_and_time,
13 sizeof day_and_time);
15 ACE_DEBUG ((LM_DEBUG, "%s", day_and_time));
17 return 0;