Kaunter Hari
Count days between dates, days since or until a date, and countdowns to events. Handles leap years with step-by-step solutions.
Your Input
Select a calculation type, enter your dates, and click Count Days to see results with step-by-step solutions and visualizations.
Keputusan Kiraan Hari
Penyelesaian Langkah demi Langkah
Panduan Pengguna Lengkap
Apa itu Kaunter Hari?
A day counter calculates the number of days between two dates, days since a past date, days until a future date, or a countdown to an event. It accounts for leap years, varying month lengths, and year boundaries.
Total days = End Date − Start Date | Hari perniagaan = hari bekerja sahaja (Isnin–Jumaat)
Gunakannya untuk garis masa projek, kira detik, umur atau tempoh dalam hari dan perancangan acara.
Date Format
Gunakan YYYY-MM-DD (mis. 2025-02-15). Tarikh dari tahun 1 hingga 9999 disokong.
Jenis Pengiraan
Antara Hari
Exact number of days between two dates, plus weeks, months, hours, and business days (weekdays only).
Hari Sejak
How many days have passed since a past date (e.g. since birth, since an event).
Hari Sehingga
How many days remain until a future date (deadlines, countdowns).
undur
Countdown to an event with optional name; shows days, weeks, months, hours, and minutes until the date.
Cara Menggunakan Kalkulator Ini
- Select a calculation type (Days Between, Days Since, Days Until, or Countdown)
- Enter the required dates (and optional event name for Countdown)
- Click 'Count Days' to see the result
- Review the main result, detail cards (when available), and step-by-step solution
- Use the chart for a visual breakdown where available
- Klik 'Tetapkan semula' untuk menetapkan semua tarikh kepada hari ini dan jelaskan keputusan
Memahami Keputusan Anda
Main result
Jumlah bilangan hari, dengan ringkasan berformat pendek (mis. X hari, atau X minggu Y hari).
Detail cards
Untuk Hari Antara dan Kira Detik: pecahan kepada minggu, bulan, hari perniagaan dan jam jika berkenaan.
Step-by-step
Menunjukkan cara kiraan hari dikira, termasuk formula dan langkah perantaraan.
Memahami Hari Perniagaan
Hari perniagaan ialah hari bekerja (Isnin–Jumaat); hujung minggu dikecualikan. Digunakan untuk tarikh akhir projek, penghantaran, jadual kerja dan kontrak. Cuti tidak dikecualikan.
Kaedah Mengira Hari
Simple subtraction: Total days = end date − start date.
Relativedelta: Precise years, months, and days; accounts for month lengths and leap years.
Business days: Count of weekdays (Mon–Fri) between the two dates.
Nota Penting
- All calculations account for leap years and varying month lengths.
- Business days (Days Between) exclude weekends only; holidays are not excluded.
- Use YYYY-MM-DD format. Dates must be between year 1 and 9999.