Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mariadb current date plus 1 day

--Today plus 1 day
SELECT CURRENT_DATE + INTERVAL 1 DAY

--Today plus 30 days
SELECT CURRENT_DATE - INTERVAL 30 DAY
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mariadb #current #date #day
ADD COMMENT
Topic
Name
3+7 =