Click or drag to resize

OleDateTime Class

X#
VO Compatible class to store DateTime values in OLE Automation
Inheritance Hierarchy
Object
  OleDateTime

Namespace:  XSharp
Assembly:  XSharp.VO (in XSharp.VO.dll) Version: 2.19
Syntax
 CLASS OleDateTime
Request Example View Source

The OleDateTime type exposes the following members.

Constructors
  NameDescription
Public methodOleDateTime
Construct an OleDateTime object
Public methodOleDateTime(DateTime)
Construct an OleDateTime object
Public methodOleDateTime(Usual)
Construct an OleDateTime object
Top
Properties
  NameDescription
Public propertyDateTime
The value as a .Net DateTime type.
Public propertyDateVal
The value of the date part of the DateTime object as a Date.
Public propertyTimeString
The value of the time part of the DateTime object as a String.
Public propertyTimeVal
The value of the time part of the DateTime object as a float.
Top
Methods
  NameDescription
Public methodAsReal8
Returns the DateTime value as Real8 (the format that is used in COM).
Public methodAsString
Returns the dateTime value as a String.
Public methodToString
Converts the value of the current DateTime object to its equivalent string representation using the formatting conventions of the current culture.
(Overrides ToString.)
Public methodToString(IFormatProvider)
Converts the value of the current DateTime object to its equivalent string representation using the formatting conventions of the current culture.
Public methodToString(String, IFormatProvider)
Converts the value of the current DateTime object to its equivalent string representation using the formatting conventions of the current culture.
Top
See Also