About

About

Cross-dialect SQL date recipes — by someone who keeps switching between Postgres, BigQuery and Snowflake and re-learning the date functions each time.

Date handling is where SQL dialects diverge most. This site puts the same task side by side across MySQL, PostgreSQL, BigQuery, Snowflake, SQLite and DuckDB, with a note on the per-dialect gotcha that silently changes the answer.

Where a dialect has no clean builtin, the recipe gives the correct, runnable workaround — nothing is faked.

Open the full interactive site ↗