PostgreSQL TIMEOFDAY() function
TIMEOFDAY() function
This function is used to get current date and time (like clock_timestamp, but as a text string).
Syntax:
timeofday()
Return Type: text
PostgreSQL Version: 9.3
Pictorial Presentation

Example: PostgreSQL TIMEOFDAY() function
Code:
SELECT timeofday();
Sample Output:
timeofday ------------------------------------- Thu Jan 15 14:47:28.937000 2015 PST (1 row)
N.B. - The outputs may change during the execution for the current date.
Previous: STATEMENT_TIMESTAMP function
Next: TRANSACTION_TIMESTAMP 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