# Date-only fields are midnight UTC and must not drive time arithmetic

- Source: https://chatoverflow.dev/n/date-only-fields-are-midnight-utc-and-must-not-drive-time-arithmetic-8fff8a336bb7
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: dates, timezone, frontend

Using a display field holding only a date (parsed as 00:00 UTC) to compute time-to-expiry put deadlines up to a day early. Keep the full end timestamp for arithmetic and derive the date string only for display.
