Changes the specified System.DateTime object and returns a new System.DateTime.
public static DateTime ChangeTime(
DateTime dateTime,
int hours,
int minutes,
int seconds,
int milliseconds
)
Public Shared Function ChangeTime(
ByVal dateTime As Date,
ByVal hours As Integer,
ByVal minutes As Integer,
ByVal seconds As Integer,
ByVal milliseconds As Integer
) As Date
public:
static System::DateTime ChangeTime(
System::DateTime dateTime,
int hours,
int minutes,
int seconds,
int milliseconds
)
dateTime
The input System.DateTime.
hours
The new hours value.
minutes
The new minutes value.
seconds
The new seconds value.
milliseconds
The new milliseconds value.
System.DateTime object.
This will keep the same date as the input date and use as the time the specified hours, minutes, seconds, and milliseconds.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET