blob: e61ddace9b33d9763f0fbffad019c9540723e4c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// $Id$
// Test the ACE::timestamp method.
#include "ace/OS_main.h"
#include "ace/ACE.h"
#include "ace/Log_Msg.h"
ACE_RCSID(Misc, test_timestamp, "$Id$")
int
ACE_TMAIN (int, ACE_TCHAR *[])
{
ACE_TCHAR day_and_time[35];
ACE::timestamp (day_and_time,
sizeof day_and_time);
ACE_DEBUG ((LM_DEBUG, "%s", day_and_time));
return 0;
}
|