In this PostgreSQL post explains how to use the PostgreSQL current_date function with syntax and examples.
The PostgreSQL current_date function returns the current date.
The syntax for the current_date function in PostgreSQL is:
current_date
There are no parameters or arguments for the current_date function.
The current_date function can be used in the following versions of PostgreSQL:
Let's look at some PostgreSQL current_date function examples and explore how to use the current_date function in PostgreSQL.
For example:
postgres=# SELECT current_date;
date
------------
2014-04-24
(1 row)
postgres=# SELECT current_date + 1;
?column?
------------
2014-04-25
(1 row)