Returns the end date of the previous quarter treating the system date as current date. The time returned is 11:59:59 PM.
= ENDOFLASTQUARTER()
None
DateTime. The function returns a Microsoft .NET DateTime object. Any properties or member functions of the DateTime object can also be accessed or used in formulas.
Example |
Returns |
= ENDOFLASTQUARTER() |
As SYSTEM date is 1/28/2010, 12/31/2009 11:59:59 PM |
= ENDOFLASTQUARTER().Month |
The month for the end of previous quarter. |
= ENDOFLASTQUARTER().AddDays(1) |
The start date of current quarter. |
= ENDOFLASTQUARTER().AddMonths(1). Month |
The month for the start of current quarter. |
http://msdn.microsoft.com/en-us/library/system.datetime_members(VS.71).aspx