PostgreSQL NOW() function
NOW() function
This function is used to get current date and time (start of current transaction).
Syntax:
now()
Return Type: timestamp with time zone
PostgreSQL Version: 9.3
Pictorial Presentation of PostgreSQL NOW() function

Example: PostgreSQL NOW() function:
Code:
SELECT now();
Sample Output:
now ---------------------------- 2015-01-15 14:17:25.919-08 (1 row)
N.B. - The outputs may change during the execution for the current date and time.
Previous: LOCALTIMESTAMP function
Next: STATEMENT_TIMESTAMP function
- Weekly Trends
- Python Interview Questions and Answers: Comprehensive Guide
- Scala Exercises, Practice, Solution
- Kotlin Exercises practice with solution
- MongoDB Exercises, Practice, Solution
- SQL Exercises, Practice, Solution - JOINS
- Java Basic Programming Exercises
- SQL Subqueries
- Adventureworks Database Exercises
- C# Sharp Basic Exercises
- SQL COUNT() with distinct
- JavaScript String Exercises
- JavaScript HTML Form Validation
- Java Collection Exercises
- SQL COUNT() function
- SQL Inner Join