CURRENT_DATE returns the current date according to the database session or system context.
Current dates are frequently required for reporting, date filtering, aging calculations, and business rules.
Find records created on the current date.
SELECT
CURRENT_DATE AS Today;
CURRENT_DATE is useful for daily reports, transaction monitoring, aging analysis, and date-based business rules.
- CURRENT_DATE returns the current date.
- It normally does not include a time component.
- The result depends on the database context.
- It is useful for date comparisons.
- Syntax may vary between databases.
What does CURRENT_DATE return?
CURRENT_DATE returns the current date according to the database session or system context.
Where is CURRENT_DATE useful?
It is useful for daily reporting, date filtering, aging calculations, and current-date business rules.