PostgreSQL CURRENT_DATE() function
CURRENT_DATE() function
This function is used to return the current date.
Syntax:
current_date()
Return Type: date.
PostgreSQL Version: 9.3
Pictorial Presentation of PostgreSQL CURRENT_DATE() function

Example: PostgreSQL CURRENT_DATE() function
Code:
SELECT current_date;
Sample Output:
date ------------ 2015-01-14 (1 row)
N.B. - The outputs may change with the current date.
Previous: CLOCK_TIMESTAMP function
Next: CURRENT_TIME function
- New Content published on w3resource:
- HTML-CSS Practical: Exercises, Practice, Solution
- Java Regular Expression: Exercises, Practice, Solution
- Scala Programming Exercises, Practice, Solution
- Python Itertools exercises
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework
- Angular - JavaScript Framework
- Vue - JavaScript Framework
- Jest - JavaScript Testing Framework