subQuarters
Modified on Tue, 22 Aug 2023
Description
Use this function to subtract the specified number of year quarters from the given date.
Syntax
subQuarters(date, number)
Returns
Return Value | Description |
---|---|
Date | Returns the resulting date after subtracting the specified number of year quarters. |
Sample
Example | Result | Description |
---|---|---|
subQuarters(2023-04-08, 2) | 2022-10-08 00:00:00 | Subtracts 2 quarters (or 6 months) from the date 2023-04-08, resulting in the date 2022-10-08 00:00:00. |
To view all the Date functions, click here.
See Also
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article