In this section of postgresql we will see the below listed topics with example for each. Connect or Access postgresql with python Get Cube root of column in Postgresql Get Cube of column in Postgresql Typecast integer or numeric to character in Postgresql Typecast date or timestamp to character in Postgresql Typecast character or string to date in Postgresql Typecast character or string to timestamp in Postgresql Typecast string or character to integer in Postgresql DATE_PART() Function in PostgreSQL Extract Milliseconds from datetime (timestamp) in PostgreSQL Extract day of week from date in PostgreSQL Extract day of year from date in PostgreSQL Extract Microseconds from datetime (timestamp) in PostgreSQL Extract seconds from datetime (timestamp) in PostgreSQL Extract minute from datetime (timestamp) in PostgreSQL Extract hour from datetime (timestamp) in PostgreSQL Extract day from date in PostgreSQL Extract month from date in PostgreSQL Extract year from date in PostgreSQL Extract Century from date in PostgreSQL Extract Decade from date in PostgreSQL Extract Month Year from date in PostgreSQL DATE_TRUNC() Function in PostgreSQL Populate or Get First day of Month from date in PostgreSQL Populate or GET First day of year from date in PostgreSQL Populate or GET First day of week from date in PostgreSQL Truncate the datetime to nearest hour in PostgreSQL Convert datetime(timestamp) to date in PostgreSQL Extract Time part from datetime(timestamp) in PostgreSQL Difference between two dates in days PostgreSQL Difference between two dates in Months PostgreSQL Difference between two dates in Years PostgreSQL Difference between two datetime (timestamp) in Hours PostgreSQL Difference between two datetime (timestamp) in Minutes PostgreSQL Difference between two datetime (timestamp) in Seconds PostgreSQL Difference between two dates in Weeks PostgreSQL Difference between two datetime (timestamp) in milliseconds and microseconds PostgreSQL Add Days to date in PostgreSQL Add Months to date in PostgreSQL Add weeks to date in PostgreSQL Add years to date in PostgreSQL Add hours to datetime(timestamp) in PostgreSQL Add minutes to datetime(timestamp) in PostgreSQL Add Seconds to datetime(timestamp) in PostgreSQL Add Days to Current date in PostgreSQL Add months to Current date in PostgreSQL Add weeks to Current date in PostgreSQL Add year to Current date in PostgreSQL Add hour to current datetime(timestamp) in PostgreSQL Add minutes to current datetime(timestamp) in PostgreSQL Add seconds to current datetime(timestamp) in PostgreSQL Subtract seconds from current datetime(timestamp) in PostgreSQL Subtract minutes from current datetime(timestamp) in PostgreSQL Subtract hour from current datetime(timestamp) in PostgreSQL Subtract year from current date in PostgreSQL Subtract month from current date in PostgreSQL Subtract week from current date in PostgreSQL Subtract days from current date in PostgreSQL Subtract minutes from datetime(timestamp) in PostgreSQL Subtract Seconds from datetime(timestamp) in PostgreSQL Subtract hours from datetime(timestamp) in PostgreSQL Subtract Months from date in PostgreSQL Author Sridhar Venkatachalam With close to 10 years on Experience in data science and machine learning Have extensively worked on programming languages like R, Python (Pandas), SAS, Pyspark. View all posts Related Posts:PostgreSQLDATE_PART() Function in PostgreSQLRaised to power of column in pyspark – square, cube…Access Array Elements in PostgreSQLExtract Milliseconds from datetime (timestamp) in PostgreSQLDifference between two datetime (timestamp) in…