Request a demo

BigQuery · Date function

BigQuery CURRENT_DATE

CURRENT_DATE() returns today's date as a DATE, in UTC unless you pass a time zone: CURRENT_DATE('America/New_York'). Use it for "today", "yesterday" (CURRENT_DATE() - 1) and rolling date filters.

GoogleSQL for BigQuery · Checked against the official reference in November 2026

CURRENT_DATE returns the current calendar date as a DATE value. Without an argument it uses UTC, so between midnight UTC and local midnight the result is a different day than the one your users see. Pass a time zone name or offset to get the local date: CURRENT_DATE('Europe/Berlin'), CURRENT_DATE('-05').

The parentheses are optional when you pass no argument, so CURRENT_DATE and CURRENT_DATE() are the same. The value is fixed when the statement starts: every call in one query returns the same date, even for a query that runs across midnight.

For "yesterday" or "N days ago", subtract days with CURRENT_DATE() - 1 or DATE_SUB. Both return a DATE. For the current date and time, use CURRENT_DATETIME (wall clock, no time zone) or CURRENT_TIMESTAMP (an absolute instant).

Syntax

CURRENT_DATE()

CURRENT_DATE(time_zone_expression)

CURRENT_DATE

Arguments and return value

ArgumentDescription
time_zone_expressionOptional STRING: a time zone name such as 'America/Los_Angeles' or an offset such as '+09'. Defaults to UTC. If it evaluates to NULL, the function returns NULL.

Returns: DATE

Examples

Today, yesterday and the first day of this month

The result depends on the day you run it, so no output is shown. All four columns are DATE values.

SELECT
  CURRENT_DATE() AS today,
  CURRENT_DATE() - 1 AS yesterday,
  DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY) AS week_ago,
  DATE_TRUNC(CURRENT_DATE(), MONTH) AS month_start;

Today in your users' time zone

Between 00:00 and 08:00 UTC, Los Angeles is still on the previous day. Between 15:00 and 24:00 UTC, Tokyo is already on the next day.

SELECT
  CURRENT_DATE() AS utc_today,
  CURRENT_DATE('America/Los_Angeles') AS la_today,
  CURRENT_DATE('Asia/Tokyo') AS tokyo_today;

Orders from the last 7 complete days

The window is today minus 7 days up to, but not including, today. Order 4 (today) and order 3 (10 days ago) fall outside it.

WITH orders AS (
  SELECT 1 AS order_id, CURRENT_DATE() - 1 AS order_date, 40 AS amount UNION ALL
  SELECT 2, CURRENT_DATE() - 3, 25 UNION ALL
  SELECT 3, CURRENT_DATE() - 10, 90 UNION ALL
  SELECT 4, CURRENT_DATE(), 15
)
SELECT COUNT(*) AS orders, SUM(amount) AS revenue
FROM orders
WHERE order_date >= CURRENT_DATE() - 7
  AND order_date < CURRENT_DATE();
Result
ordersrevenue
265

Common mistakes

  • Forgetting that the default is UTC. A dashboard for New York that filters on CURRENT_DATE() switches to "tomorrow" at 7 PM local time in winter. Pass the time zone: CURRENT_DATE('America/New_York').
  • Comparing a TIMESTAMP column with CURRENT_DATE(). event_ts >= CURRENT_DATE() fails with No matching signature for operator. Write the bound in the column's type, for example event_ts >= TIMESTAMP(CURRENT_DATE('Europe/Berlin'), 'Europe/Berlin').
  • Using GETDATE(), SYSDATE or TODAY() from other databases. They don't exist in BigQuery; NOW() doesn't either. Use CURRENT_DATE, CURRENT_DATETIME or CURRENT_TIMESTAMP.
  • Expecting CURRENT_DATE() + INTERVAL 1 DAY to return a DATE. Adding an INTERVAL to a DATE returns a DATETIME. Use CURRENT_DATE() + 1 or DATE_ADD(CURRENT_DATE(), INTERVAL 1 DAY).

Cost and performance

  • Queries that call CURRENT_DATE() are not served from the query cache, because the result can change. Each run is billed again on on-demand pricing; see BigQuery pricing.
  • On a date-partitioned table, filters such as order_date >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY) still prune partitions, because the right-hand side is a constant expression. DATE_ADD, DATE_SUB, DATE_DIFF and DATE_TRUNC are also on BigQuery's list of functions that can wrap the partitioning column without blocking pruning; check the estimate with a dry run before scheduling the query.

FAQ

How do I get yesterday's date in BigQuery?

Use CURRENT_DATE() - 1 or DATE_SUB(CURRENT_DATE(), INTERVAL 1 DAY). Both return a DATE. Add a time zone if "yesterday" should follow local time: CURRENT_DATE('Europe/London') - 1.

What time zone does CURRENT_DATE use?

UTC by default. Pass a time zone name or offset as the only argument, for example CURRENT_DATE('Australia/Sydney').

What is the difference between CURRENT_DATE, CURRENT_DATETIME and CURRENT_TIMESTAMP?

CURRENT_DATE returns a DATE (no time). CURRENT_DATETIME returns the wall-clock date and time in a time zone, without the zone. CURRENT_TIMESTAMP returns an absolute instant, shown in UTC.

Does CURRENT_DATE change during a long query?

No. The value is set when the statement starts, and every call in that statement returns the same date.

Errors you may hit

More date functions

All BigQuery date functions · All functions · BigQuery error messages

Observability for every BigQuery table, in about 15 minutes

Masthead detects freshness, volume and schema anomalies, monitors pipeline errors and maps column-level lineage across all your projects, from logs and metadata only.