DateTime class

From Catglobe Wiki
Revision as of 04:26, 20 December 2011 by Tungocman (talk | contribs)
Jump to: navigation, search

DateTime



The DateTime object

Constructors

  • (string value "Value to parse as a date, syntax is same as for constant values") - New based on a string representation of a date

Methods

  • string ToString() - The string representation of the object.

Properties

  • string ObjectTypeName { get; } - The name of the type of object.
  • TypeInformation TypeInformation { get; } - Get information about this class.


Examples

DateTime dt = new DateTime("2009/04/05");
dt.ToString();