Creates the period whose duration is one day. The period includes a day previous to the current day.
public static DateTimePeriod CreateLastDay()
Public Shared Function CreateLastDay As DateTimePeriod
A DateTimePeriod object that is the created period.
To learn how to specify custom periods, see the description of the DateTimePeriod class.