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

Contents of /innwebd/DateTimeConvert.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations)
Fri Apr 11 17:14:49 2008 UTC (17 years, 11 months ago) by sysadm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -6 lines
Content type: text/x-chdr
Update copyright
Add extra log for exception

1 /*******************************************************/
2 /* */
3 /* LeafOK Innbbsd */
4 /* */
5 /* Copyright (C) LeafOK.com, 2003-2008 */
6 /* */
7 /* http://www.leafok.com */
8 /* */
9 /*******************************************************/
10
11 #pragma once
12 #include "afxdb.h"
13
14 class DateTimeConvert
15 {
16 private:
17 struct tm time;
18 public:
19 DateTimeConvert(const char* str_time = NULL);
20 ~DateTimeConvert(void);
21 int strtotime(const char* str_time);
22 CString strftime(void) const;
23 time_t mktime(void);
24 __time64_t _mktime64(void);
25 COleDateTime ToOleDataTime(void) const;
26 DateTimeConvert(TIMESTAMP_STRUCT* timestamp);
27 CString gmstrftime(void) const;
28 };

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