CTime Class


Overview

Note

The CTime class handles date and time

The structure used for this class is CTime


Quick Reference

Quick Ref

void CTime::CTime(FILETIME& fileTime, int nDST)

void CTime::CTime(SYSTEMTIME& sysTime, int nDST)


Constructors

Name

Description

CTime::CTime

Constructs a CTime object

CTime::CTime

Constructs a CTime object

void CTime::CTime(
   FILETIME& fileTime,
   int nDST);

Parameters

  • FILETIME& fileTime - a FILETIME structure to be converted to a date/time value and copied into the new CTime object

  • int nDST - indicates whether daylight savings time is in effect

Remarks

Constructs a CTime object


CTime::CTime

Constructs a CTime object

void CTime::CTime(
   SYSTEMTIME& sysTime,
   int nDST);

Parameters

  • SYSTEMTIME& sysTime - a SYSTEMTIME structure to be converted to a date/time value and copied into the new CTime object.

  • int nDST - indicates whether daylight savings time is in effect

Remarks

Constructs a CTime object