source:
libcf/trunk/test/util.c@
151
Last change on this file since 151 was 151, checked in by , 11 years ago | |
---|---|
File size: 316 bytes |
Line | |
---|---|
1 | /** |
2 | * @file util.c |
3 | * @author myusgun <myusgun@gmail.com> |
4 | */ |
5 | #include "cf_util.h" |
6 | #include <stdio.h> |
7 | |
8 | int main (void) |
9 | { |
10 | CF_UTIL_DATETIME dt; |
11 | |
12 | char buf[CF_UTIL_DATETIME_LENGTH + 1] = {0x00,}; |
13 | |
14 | CF_Util_GetCurrentTime (&dt); |
15 | |
16 | CF_Util_GetTimeString (&dt, buf); |
17 | |
18 | printf ("current time : %s\n", buf); |
19 | |
20 | return 0; |
21 | } |
Note:
See TracBrowser
for help on using the repository browser.