| |||||||||||||
DateTime Constructor ( Int32, Int32, Int32 )System Namespace DateTime Structure Initializes a new instance of the DateTime structure to the specified year, month, and day. [ VB ] <Serializable> Public Sub New ( _ ByVal year As Integer, _ ByVal month As Integer, _ ByVal day As Integer _ ) [ C# ] [ Serializable ] public DateTime ( int year, int month, int day ); [ C++ ] [ Serializable ] public: DateTime ( int year, int month, int day ); [ JScript ] public Serializable function DateTime ( year : int, month : int, day : int ); Parameters
Exceptions
RemarksThe time of day for the resulting DateTime is midnight ( 00:00:00 ). ExampleThe following demonstrates using this constructor.
See AlsoDateTime Members DateTime Constructor Overload List |
| ||||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme