ManipulateStartOf Method |
Name | Description | |
---|---|---|
StartOf(DateTimeParts) |
Get the start of part from DateTime.UtcNow. E.g. StartOf(DateTimeParts.Year)
return a new DateTime at the start of the current year.
| |
StartOf(DateTime, DateTimeParts) |
Get the start of this dateTime at part. E.g.
DateTime.Now.StartOf(DateTimeParts.Year)
return a new DateTime at the start of the current year.
|