点击或拖拽改变大小

OleDateTime 方法

X#

OleDateTime 类型公开以下成员。

方法
  名称说明
公共方法AsReal8
Returns the DateTime value as Real8 (the format that is used in COM).
公共方法AsString
Returns the dateTime value as a String.
公共方法ToString
Converts the value of the current DateTime object to its equivalent string representation using the formatting conventions of the current culture.
(重写 ToString.)
公共方法ToString(IFormatProvider)
Converts the value of the current DateTime object to its equivalent string representation using the formatting conventions of the current culture.
公共方法ToString(String, IFormatProvider)
Converts the value of the current DateTime object to its equivalent string representation using the formatting conventions of the current culture.
Top
参见