PostgreSQL CURRENT_TIMESTAMP() function
CURRENT_TIMESTAMP() function
This function is used to return the current date and time.
Syntax:
current_timestamp()
Return Type: timestamp with time zone.
PostgreSQL Version: 9.3
Pictorial Presentation of PostgreSQL CURRENT_TIMESTAMP() function

Example: PostgreSQL CURRENT_TIMESTAMP() function
Code:
SELECT current_timestamp;
Sample Output:
now ---------------------------- 2015-01-14 16:42:26.283-08 (1 row)
N.B. - The outputs may change with current date and time.
Previous: CURRENT_TIME function
Next: DATE_PART 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