Product Documentation

c-treeDB API for C# - Developers Guide

Previous Topic

Next Topic

CTTime Methods

Constructor / Destructor

  • CTTime(): Creates a CTTime object
  • ~CTTime(): Destroys a CTTime object and resets all the dependent objects

Time Handling

  • GetTime(): Retrieves the Time.
  • SetTime(): Sets the Time to the CTTime object.
  • Pack(): Packs an hour, minute and second value into a CTTIME object.
  • Unpack(): Unpacks a CTTIME object into hour, minute and second values
  • Hour(): Retrieves the hour component from a CTTIME object
  • Minute(): Retrieves the minute component from a CTTIME object
  • Second(): Retrieves the second component from a CTTIME object
  • TimeToString(): Converts a packed CTTIME object to a String object
  • StringToTime(): Converts a String object to a Time object
  • CurrentTime(): Retrieves the current system Time.

In This Section

CTTime.CTTime

CTTime.~CTTime

CTTime.CurrentTime

CTTime.GetTime

CTTime.Hour

CTTime.Minute

CTTime.Pack

CTTime.Second

CTTime.SetTime

CTTime.StringToTime

CTTime.TimeToString

CTTime.Unpack

TOCIndex