Click or drag to resize

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
)

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: DateTime
The new date/time.
See Also