In The Hand LtdIn The Hand
DateTimeOffset Constructor (year, month, day, hour, minute, second, millisecond, offset)
NamespacesInTheHandDateTimeOffsetDateTimeOffset(Int32, Int32, Int32, Int32, Int32, Int32, Int32, TimeSpan)
.NET Components for Mobility
Initializes a new instance of the DateTimeOffset structure using the specified year, month, day, hour, minute, second, millisecond, and offset.
Declaration Syntax
C#Visual Basic
public DateTimeOffset(
	int year,
	int month,
	int day,
	int hour,
	int minute,
	int second,
	int millisecond,
	TimeSpan offset
)
Public Sub New ( _
	year As Integer, _
	month As Integer, _
	day As Integer, _
	hour As Integer, _
	minute As Integer, _
	second As Integer, _
	millisecond As Integer, _
	offset As TimeSpan _
)
Parameters
year (Int32)
The year.
month (Int32)
The month (1 through 12).
day (Int32)
The day (1 through the number of days in month).
hour (Int32)
The hours (0 through 23).
minute (Int32)
The minutes (0 through 59).
second (Int32)
The seconds (0 through 59).
millisecond (Int32)
The milliseconds (0 through 999
offset (TimeSpan)
The time's offset from Coordinated Universal Time (UTC).

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0