Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

DateTime class: Difference between revisions

From Catglobe Wiki
Tungocman (talk | contribs)
No edit summary
Tungocman (talk | contribs)
No edit summary
Line 6: Line 6:
<source lang="javascript">
<source lang="javascript">
DateTime dt = new DateTime("2009/04/05");
DateTime dt = new DateTime("2009/04/05");
dt.ToString();
print(dt.ToString());
</source>
</source>

Revision as of 02:26, 20 December 2011

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");
print(dt.ToString());