Product Documentation

c-treeDB API for C++ - Developers Guide

Previous Topic

Next Topic

CTDateTime::CTDateTime

Syntax

CTDateTime( )

CTDateTime(NINT year, NINT month, NINT day, NINT hour = 0, NINT minute = 0, NINT second = 0)

CTDateTime(CTDATE Date, CTTIME Time = 0)

CTDateTime(const CTDate& Date, const CTTime& Time = 0)

CTDateTime(CTDATETIME DateTime)

CTDateTime(CTDateTime& DateTime)

Parameters

  • year [in] The year to set to the CTDate object.
  • month [in] The month to set to the CTDate object.
  • day [in] The day to set to the CTDate object.
  • hour [in] The hour to set to the CTDateTime object.
  • minute [in] The minute to set to the CTDateTime object.
  • second [in] The second to set to the CTDateTime object.
  • Date [in] The date to set to the CTDateTime object
  • Time [in] The Time to set to the CTDateTime object
  • DateTime [in] The DateTime to set to the CTDateTime object

Description

This is the constructor for the CTDateTime object.

See also

~CTDateTime()

TOCIndex