ข้ามไปที่เนื้อหา

นับการเปิดหน้าและการคลิกโปรเจกต์ด้วย PostHog (เซิร์ฟเวอร์ EU) ไหม โหลดเมื่อคุณกดอนุญาตเท่านั้น ความเป็นส่วนตัว

Date Calculator live preview
โปรเจกต์ทั้งหมด

Date Calculator

Count the days between two dates or shift a date without a spreadsheet formula.

Counting days between dates or adding a duration meant reaching for spreadsheet formulas or a clunky calculator site.

Tech Domain · Book Dev|เผยแพร่แล้ว|หลักฐาน: ใช้งานจริง|Next.js, TypeScript

มี deployment สาธารณะที่เปิดให้ทดลองใช้งาน

กรณีศึกษา

ก่อนใช้งาน

Counting days between dates and adding durations to specific dates required spreadsheet formulas or clunky online calculators.

หลังใช้งาน

The page gives instant calendar-day arithmetic for deadlines and planning, entirely in the browser.

วิธีแก้ปัญหา

Built a date calculator, now at /date-calculator in the Devtools Workbench suite, that shows the difference between two dates in days, weeks, and approximate months, and adds or subtracts days, weeks, or months from a base date.

สิ่งที่ยังไม่แก้

Calendar days only: no working-day or holiday handling and no timezone choice (dates use a fixed Bangkok calendar). The month difference is an average of 30.44 days.

บทความที่เกี่ยวข้อง

อ่านเพิ่มเติมในหัวข้อที่เกี่ยวข้องจากบล็อก

โปรเจกต์ที่เกี่ยวข้อง

เพิ่มเติมใน Tech Domain · Book Dev