Hi! Could we please enable some services and cookies to improve your experience and our website?

SQLize | PHPize | SQLtest

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

A A A
Login    Share code      Blog   FAQ
Copy Format Clear
select current_date, datediff (year from date '2023-01-01' to current_date), dateadd (datediff (year from date '2023-01-01' to current_date) year to date '2023-01-01') from rdb$database; select current_date, datediff (day from date '2023-01-01' to current_date), dateadd (datediff (day from date '2023-01-01' to current_date) day to date '2023-01-01') from rdb$database;

Stuck with a problem? Got Error? Ask AI support!

Copy Clear