/[LeafOK_CVS]/innwebd/DateTimeConvert.h
ViewVC logotype

Contents of /innwebd/DateTimeConvert.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1.1.1 - (show annotations) (vendor branch)
Fri Jun 25 07:01:51 2004 UTC (21 years, 8 months ago) by sysadm
Branch: GNU
CVS Tags: V101
Changes since 1.1: +0 -0 lines
Content type: text/x-chdr
no message

1 /*******************************************************/
2 /* */
3 /* LeafOK Innd */
4 /* Copyright (C) LeafOK.com, 2003-2004 */
5 /* */
6 /* Programmed by Leaf */
7 /* E-mail:leaf@leafok.com QQ:6049044 */
8 /* */
9 /* http://bbs.leafok.com */
10 /* http://bbs.leafok.net */
11 /* http://bbs.fenglin.info */
12 /* */
13 /*******************************************************/
14
15 #pragma once
16 #include "afxdb.h"
17
18 class DateTimeConvert
19 {
20 private:
21 struct tm time;
22 public:
23 DateTimeConvert(const char* str_time = NULL);
24 ~DateTimeConvert(void);
25 int strtotime(const char* str_time);
26 CString strftime(void) const;
27 time_t mktime(void);
28 __time64_t _mktime64(void);
29 COleDateTime ToOleDataTime(void) const;
30 DateTimeConvert(TIMESTAMP_STRUCT* timestamp);
31 CString gmstrftime(void) const;
32 };

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1