# Write a SOQL query to find all Opportunities where CloseDate falls in the Current Fiscal Quarter (THIS_FISCAL_QUARTER).

**Topic:** Development · **Difficulty:** Easy · **Asked at:** Deloitte, Capgemini, HCL · **Tags:** soql, scenario, date-literals, fiscal

Read it on the site: https://www.forcechallenges.com/interview-questions/write-a-soql-query-to-find-all-opportunities-where-closedate-falls-in-the-current-fiscal-quarter-this-fiscal

## Answer

Use the `THIS_FISCAL_QUARTER` date literal, which follows the org's fiscal year settings (standard or custom).

```soql
SELECT Id, Name, CloseDate FROM Opportunity WHERE CloseDate = THIS_FISCAL_QUARTER
```
For calendar quarters use `THIS_QUARTER` instead.

---
Source: ForceChallenges · last updated 2026-10-19
