| MikroCAD SDK Library

- Home
- All Types
- Files

All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
TimeAsDouble.h
Go to the documentation of this file.
1 /**
2 * @file TimeAsDouble.h
3 * @brief Borland style time functions
4 *
5 * @author LMI Technologies
6 */
7
8 #ifndef _TimeAsDouble_h
9 #define _TimeAsDouble_h
10
11 #include "atltime.h"
12
13 /**
14 Get time as double (Borland format)
15
16 @param Time CTime object
17 @return Time as double
18 */
19 double GetDateTimeAsDouble(CTime& Time);
20
21 /**
22 Convert double (Borland format) to CTime object
23
24 @param dTime Time as double
25 @return new CTime object
26 */
27 CTime GetDateTimeFromDouble(double dTime);
28
29 //-------------------------------------------------------------------------------------------------
30 #endif
GetDateTimeAsDouble
double GetDateTimeAsDouble(CTime &Time)
Get time as double (Borland format)
GetDateTimeFromDouble
CTime GetDateTimeFromDouble(double dTime)
Convert double (Borland format) to CTime object.