My Billing Form Thought It Was Yesterday. I Live Five Hours Ahead of UTC. A developer building VoiceDash, a white-label client portal for voice AI agencies, fixed two billing date bugs caused by deriving calendar dates from UTC instead of the user's local time zone. Subscription start dates and coupon expiry dates were each off by one day for agencies east or west of UTC, causing subscriptions to be scheduled rather than started immediately and coupons to display or expire on the wrong day. The fix moves date conversion into the browser, where the agency's time zone is known, so 'today' reflects local midnight rather than Greenwich. I live in Pakistan, five hours ahead of UTC. At 01:22 on a Sunday in October I committed a fix to VoiceDash https://voice-dash.com , my white-label client portal for voice AI agencies, and the commit message starts like this: The form took today from UTC, so agencies east of UTC could see yesterday... Look at the timestamp. Between midnight and 5am my time, JavaScript's favorite way to get "today" returns yesterday, which is exactly the window that commit landed in. This is a short build-log about two billing dates that were each off by one day, the fix, and the parts of the same app that are still on UTC as I write this. The subscription form, where an agency bills one of its clients through its own Stripe account, had this at the top: js const today = = new Date .toISOString .slice 0, 10 ; It feeds a date input: