EAPUtilComposeDateTime Method |
Compose a new date/time object from the specified date and time.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static DateTime ComposeDateTime(
DateTime date,
Nullable<DateTime> time,
bool clearSeconds = false
)
Public Shared Function ComposeDateTime (
date As DateTime,
time As Nullable(Of DateTime),
Optional clearSeconds As Boolean = false
) As DateTime
Parameters
- date
- Type: SystemDateTime
The date portion (time ignored). - time
- Type: SystemNullableDateTime
The time portion (date ignored), may be null. - clearSeconds (Optional)
- Type: SystemBoolean
When specified, only the hours and minutes of the time will be used.
Return Value
Type:
DateTimeThe new date/time.
See Also