DateTimeExtensions
.
.
::
.
.
SetTime Method (DateTime, Int32, Int32, Int32, Int32)
Sets the time.
Namespace:
Core
Assembly:
Core
(in Core.dll)
Syntax
C#
public
static
DateTime
SetTime
(
DateTime
date
,
int
hour
,
int
minute
,
int
second
,
int
millisecond
)
Parameters
date
Type:
DateTime
The date.
hour
Type:
Int32
The hour.
minute
Type:
Int32
The minute.
second
Type:
Int32
The second.
millisecond
Type:
Int32
The millisecond.
Return Value
returns DateTime
See Also
DateTimeExtensions Class
SetTime Overload
Core Namespace