Click or drag to resize
ManipulateEndOf Method (DateTimeParts)
Get the end of part from DateTime.UtcNow. E.g. EndOf(DateTimeParts.Year) return a new DateTime at the end of the current year.

Namespace: MomentSharp
Assembly: MomentSharp (in MomentSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static DateTime EndOf(
	DateTimeParts part
)

Parameters

part
Type: MomentSharpDateTimeParts
DateTimeParts

Return Value

Type: DateTime
DateTime at the end of give part
See Also