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

Contents of /innwebd/DateTimeConvert.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations)
Sat Feb 26 16:10:26 2005 UTC (21 years ago) by sysadm
Branch: MAIN
CVS Tags: innwebd_1-4-16-0_MIL
Changes since 1.2: +1 -1 lines
Content type: text/x-chdr
Copyright update

1 /*******************************************************/
2 /* */
3 /* LeafOK Innbbsd */
4 /* Copyright (C) LeafOK.com, 2003-2005 */
5 /* */
6 /* Programmed by Leaf */
7 /* E-mail:leaflet@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