{"slug":"record-date-vs-ex-dividend-date","qid":"worked_example","label":"One real dividend: AAPL's most recent completed payout, all four dates","post_title":"Ex-Dividend Date vs. Record Date: Same Day?","post_url":"/blog/record-date-vs-ex-dividend-date#q-worked_example","columns":["ticker","declared","ex_date","record","paid","dividend_per_share","declared_to_ex_days","ex_to_record_days","record_to_pay_days"],"rows":[{"ticker":"AAPL","declared":"2026-07-30","ex_date":"2026-08-10","record":"2026-08-10","paid":"2026-08-13","dividend_per_share":0.27,"declared_to_ex_days":11,"ex_to_record_days":0,"record_to_pay_days":3}],"shape":"scalar","sql":"SELECT ticker,\n       formatDateTime(declaration_date, '%Y-%m-%d') AS declared,\n       formatDateTime(ex_dividend_date, '%Y-%m-%d') AS ex_date,\n       formatDateTime(record_date, '%Y-%m-%d') AS record,\n       formatDateTime(pay_date, '%Y-%m-%d') AS paid,\n       cash_amount AS dividend_per_share,\n       dateDiff('day', declaration_date, ex_dividend_date) AS declared_to_ex_days,\n       dateDiff('day', ex_dividend_date, record_date) AS ex_to_record_days,\n       dateDiff('day', record_date, pay_date) AS record_to_pay_days\nFROM global_markets.stocks_dividends\nWHERE ticker = 'AAPL'\n  AND currency = 'USD'\n  AND distribution_type = 'recurring'\n  AND ex_dividend_date <= today()\n  AND record_date IS NOT NULL\n  AND pay_date IS NOT NULL\n  AND declaration_date IS NOT NULL\nORDER BY ex_dividend_date DESC\nLIMIT 1","computed_at":"2026-08-22T04:18:30.052542+00:00","elapsed":0.51263029}