Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTDateTime.CTDateTime

Syntax

CTDateTime( )

CTDateTime(int year, int month, int day)

CTDateTime(CTDATE Date)

CTDateTime(CTDATE Date, CTTIME Time)

CTDateTime(CTDate Date)

CTDateTime(CTDate Date, CTTime Time )

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