Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
SQL
mysql subtract month from timestamp
Brillig
Programming language:
SQL
2021-05-05 19:14:50
0
Q:
mysql subtract month from timestamp
pboss3010
Code:
SQL
2021-06-21 16:14:14
DATE_SUB((DATE_SUB(curdate(), INTERVAL 1 MONTH)), INTERVAL 4 DAY)
0
Tags
mysql
time
sub
sql
Related
select amount weeks between two dates mysql
mysql add hours to datetime
mysql create timestamp column
mysql get seconds from datetime
mysql change timestamp on update
sqlalchemy postgres timestamp with timezone
mysql extract month
get records in sql according to month name and count
mysql timestamp format
mysql on update current_timestamp
get month from date in sql server
mysql month name extract
mysql CURRENT_TIMESTAMP()
mysql timestamp to date
mysql select month and year
mysql date format unix timestamp
mysql extract month from date
substract variable amount of minutes from timestamp postgresql
New to Communities?
Join the community