Years of Service / Tenure Calculator
How long have you been at this job — and how close is the next work anniversary? This tool runs UTC Julian-day math (no DST drift), takes a hire date and a snapshot date, and returns (1) full-years + months + days tenure, (2) total service in days / weeks / months, (3) the countdown to the next work anniversary (and that date), and (4) the next service-award milestone among 1 / 5 / 10 / 15 / 20 / 25 / 30 / 35 / 40 years — HK's Long Service Payment kicks in at 5 years; US, Japan and Korea service-award tiers cluster on 5-year multiples too. The snapshot date can point forward (planning a service-award timeline or perf-review window) or backward (recreating a quarter-end HR snapshot). Defaults model an employee hired five years before today; the URL is shareable for HR, your manager, or your own anniversary reminder.
Enter valid dates. The snapshot date must be on or after the hire date.
Years of service
5 years
Next milestone
—
Days of service
—
Weeks of service
—
Months of service
—
Days to next anniversary
—
Date math uses UTC Julian days to avoid DST drift. Leap-day (Feb 29) hires roll back to Feb 28 in non-leap years per Workday / SAP convention. Milestones cover 1 / 5 / 10 / 15 / 20 / 25 / 30 / 35 / 40 years (HK Long Service Payment triggers at 5 years).
Formula
years = asOfYear − hireYear (adjust: if asOf month/day < hire month/day, subtract 1) months = (asOfMonth − hireMonth + 12) mod 12 (with day-rollover) days = asOfDay − hireDay (borrow: use previous month's days-in-month) totalDays = julianDay(asOf) − julianDay(hire) totalWeeks = ⌊totalDays / 7⌋ totalMonths = years × 12 + months nextAnniversary = (hireMonth, hireDay) in asOfYear (if not yet passed) else asOfYear + 1 Leap-day hires (Feb 29): fall back to Feb 28 in non-leap years (Workday / SAP convention).
- · All date math is on UTC Julian days — each date converted to a day-index from 1970-01-01 and subtracted. This neutralises DST transitions (North America March / November) so totalDays is always a clean integer count.
- · Anniversary fallback: leap-day (Feb 29) hires roll back to Feb 28 in non-leap years — the convention used by Workday, SAP and Oracle HCM. Personal-birthday calcs typically fall back to Mar 1, but HR systems prefer Feb 28 because anniversaries trigger recognition events / benefit accrual, and "nearest equivalent date" favours one day earlier.
- · Service-award milestone basis: HK's Long Service Payment (LSP) triggers at 5 years (1/3 × monthly wage × years, capped). SHRM's 2023 employee-recognition survey: 5 / 10 / 15 / 20 / 25-year tiers cover 78 % of US service awards. Japanese 永年勤続表彰 ("long-service commendation") commonly hits 5 / 10 / 15 / 20 / 30. Korean firms popularised the 30-year gold pin after age-60 retirement reform.
- · Snapshot-date uses: (a) **future** — project when you'll hit LSP eligibility, retirement vesting, or an RSU cliff (4-year vest with 1-year cliff); (b) **past** — recreate a quarter-end HR snapshot or determine tenure at a termination date for severance; (c) **today** — simple work-anniversary tracker.
- · Hire-date precision: use the *official* employment start date (offer letter, employment contract, Workday "Date of Hire" field), not the first onboarding day. Probation doesn't reduce tenure: HK Employment Ordinance counts probation as continuous service. Intra-company transfers usually preserve continuous tenure; cross-group transfers (e.g. acquired subsidiary) depend on contract language — could be re-hire or continuous.
- · Privacy: pure client-side JavaScript; no date is sent to any server. Safe to enter your hire date.
Frequently asked
I've switched departments and subsidiaries — should I use my original hire date or the latest transfer?
Depends on (1) whether the transition counted as **continuous service**. HK Employment Ordinance and most jurisdictions treat intra-company transfers (same legal entity: department change, promotion) as continuous — use the original hire date. (2) Cross-legal-entity moves (e.g. subsidiary A → subsidiary B, employees of an acquired company onboarded to the parent) depend on contract language. In HK: if the offer letter says "continuous service" and benefit accrual is preserved, use the original date; if it says "new employment" and severance was settled at exit, use the new date. (3) For **LSP / service-award purposes**, HK Long Service Payment runs on continuous service, so any transfer without an employment break uses the original date; a gap > 1 month (typical retire-and-rehire) resets the clock. When unsure, ask HR for the "continuous service date" — most HR systems track this as a separate field.
How do I use this to predict when I'll qualify for the 5-year service award?
Use a forward snapshot: set the snapshot date to the future. To check when the 5-year milestone fires, set snapshot to hire date + 5 years. The tool then surfaces "Next milestone: 5-year" plus the exact date. Example: hired 2022-08-15 → set snapshot to 2027-08-15 → tool shows "5 yrs 0 mo 0 days" and "Next milestone: 10-year (2032-08-15)". HK LSP requirements: 5 years continuous service and not summarily dismissed for misconduct; formula is 1/3 × monthly wage × years of service, capped at a HK$15,000 monthly wage (last revised 2003). Reminder: after the 2025 LSP/SP offset abolition the 5-year milestone became more financially meaningful — always cross-check the official HR system; this tool is for planning, not a substitute for the official HR record.
I took unpaid leave / maternity / sabbatical — does that time count toward tenure?
Depends on leave type and jurisdiction. (1) **Paid leave** (annual, sick, paid maternity — HK's 14-week statutory minimum) all counts as continuous service. (2) **Statutory unpaid leave** (HK's 5 days unpaid paternity, extended unpaid maternity) also counts. (3) **Non-statutory unpaid leave / sabbatical**: HK Employment Ordinance Schedule 5 says any break ≤ 1 month doesn't affect continuous service; sustained unpaid leave > 1 month without explicit contract preservation can reset the clock. In practice, the contract language governs. **How this tool reflects it**: only a single continuous-service date is supported. For breaks > 1 month, use an "effective service date" (= hire date + total break duration) as the input — the resulting tenure then reflects effective continuous service. Most HR systems carry both "continuous service date" and "original hire date" as separate fields.
Related tools
Age Calculator
From your date of birth, get exact age, Chinese nominal age (虛歲), days lived and days to next birthday.
Date Difference Calculator
Enter any two dates to get the calendar gap, working days, weekend days, plus year/month/day breakdown and total weeks/months.
Time Zone Converter
Pick your local and target cities to convert a given clock time across time zones.
Date Add / Subtract Calculator
Add or subtract years, months, weeks and days from a start date to get the resulting date and weekday.
Business Days Calculator
Count the working days between two dates (excluding weekends) — or add N business days to a start date to find the deadline.
Pregnancy Due Date Calculator
Estimate the due date from your last menstrual period (LMP) using Naegele's rule, plus current gestational week, trimester and key pregnancy milestones.
Time Card Calculator (clock-in / clock-out / break)
Enter clock-in/clock-out times and break minutes to get total hours worked and gross pay — overnight (graveyard) shifts handled automatically.
Day of Year & Week Number Calculator
Pick any date to see which day of the year (1–366), ISO 8601 week number, weekday, and how many days from the start and end of the year.
Day of the Week Calculator (Any Date)
Enter any Gregorian date (past or future) to instantly find the day of the week — useful for birthdays, anniversaries and historical events.
Unix Timestamp ↔ Date Converter
Convert a Unix timestamp (seconds or milliseconds since 1970-01-01 UTC) to UTC, Hong Kong time and RFC 1123 HTTP date — and back. Built for debugging log files, API responses and database fields.
Easter Date Calculator
Pick a year and the Computus algorithm returns Easter Sunday plus Ash Wednesday, Palm Sunday and Good Friday.
Moon Phase Calculator
Enter any date to compute the lunar phase (new, first quarter, full, last quarter …), moon age in days and illuminated fraction.
Chinese Zodiac & Lunar Age Calculator
Find your Chinese zodiac animal, stem-branch element, zodiac year and lunar (nominal) age from any birth date.
Western Zodiac Sign Calculator
Enter your birth date to see your Western zodiac sign (Aries, Taurus, Gemini…) along with its element, modality and opposing sign.
Birthstone Calculator
Pick a birth month to instantly see the modern and traditional birthstones, the birth flower, the spanning zodiac signs and a colour swatch — handy when choosing jewellery or birthday gifts.
Julian Day Number Calculator
Convert a Gregorian calendar date to its Julian Day Number (JDN) and Modified Julian Day (MJD) — used in astronomy, history, and cross-calendar date math.
ISO 8601 Week Number Calculator
Enter any date and compute its ISO 8601 week number, ISO year and weekday — using the Monday-first / first-week-contains-Jan-4 rule.
Time Between Two Times Calculator
Enter two clock times (HH:MM[:SS]) and instantly see the difference in hours, minutes and seconds — with overnight-shift handling and decimal-hour output.
Hong Kong Statutory Annual Leave Calculator
Enter years of service and see the statutory paid annual leave entitlement under the HK Employment Ordinance §41AA.
Half-Birthday Calculator
Enter your date of birth to see when your next half-birthday falls, how many days away it is, and your current half-age (e.g. 33.5 years).
Daylight Hours (Sunrise / Sunset) Calculator
Enter a latitude, longitude and date to get the local sunrise, sunset, solar noon and total daylight hours using the NOAA solar position formula.
Countdown to Date Calculator
Enter a target date and get an instant breakdown of days, weeks, months, hours and minutes remaining — or elapsed for past dates.
Jet Lag Recovery Time Calculator
Enter the number of time zones crossed and direction of travel (eastward or westward) to estimate how many days you typically need to fully adjust to the destination, based on sleep-medicine rules of thumb.
Decimal Hours ↔ HH:MM:SS Converter
Convert between HH:MM:SS and decimal hours both ways — built for payroll, timesheets and lab notebooks.
Generation Calculator (Birth Year)
Enter a birth year to classify yourself by the Pew Research generation cohorts — Greatest, Silent, Boomer, Gen X, Millennial, Gen Z, Gen Alpha or Gen Beta.
Time Adder & Subtractor (HH:MM:SS)
Add or subtract any number of HH:MM:SS durations with automatic carry — handy for totalling video lengths, training sessions or race splits.
Year / Quarter / Month / Week Progress Calculator
Pick any date to see what percentage of the year, quarter, month and week has elapsed and how many days remain — handy for yearly goals, OKR check-ins and progress reports.
Date Format Converter (ISO 8601 / US / EU / JP / Unix)
Pick a date and see it instantly formatted in ISO 8601, RFC 2822, US (MM/DD/YYYY), EU (DD/MM/YYYY), Japanese (YYYY年MM月DD日), Unix timestamp and a dozen other common formats.
Friday the 13th Date Finder
List every Friday the 13th in a given year (or range) and show how many days remain until the next one.
Nth Weekday of the Month Calculator
Pick a month, year, weekday and occurrence (including "last") to get the date — handy for scheduling monthly meetings, paydays and rule-based holidays such as US Thanksgiving (4th Thursday of November).
Weekday Count in Date Range Calculator
Enter a start and end date and instantly see how many Mondays, Tuesdays, … Sundays fall inside the range, plus weekday vs weekend totals — useful for scheduling, payroll, rent and contract counts.
Time to Retirement Calculator
Enter your birth date and target retirement age; the tool returns the exact years, months, days and total days remaining until retirement, plus the calendar date you will retire — useful for financial and life planning.
Sunrise & Sunset Calculator
Enter latitude, longitude and date; the tool applies the NOAA solar position algorithm to return local sunrise, sunset and solar-noon times, plus the length of the day — essential for photography, outdoor activities, agriculture and solar-energy planning.
Fiscal Quarter Calculator (custom fiscal-year start)
Enter a date and your fiscal-year start month; the tool reports the calendar quarter (Q1–Q4), the fiscal quarter and fiscal-year label, the quarter's start/end dates and the percentage of the quarter elapsed — useful for SEC filings, government budgets and SaaS subscription planning.
Working Hours per Year Calculator (with hourly / daily rate)
Enter weekly hours, annual leave days and public holidays; the tool returns net annual working hours after leave and converts a yearly salary into hourly, daily and monthly rates — useful for freelancers, contractors and HR cost planning.
Equinox & Solstice Date Calculator
Enter a Gregorian year and the tool returns the dates and UTC times of the spring equinox, summer solstice, autumn equinox and winter solstice using Jean Meeus’ astronomical formulas — useful for gardening, festival planning, photography and the Chinese solar-term calendar.
Planetary Age Calculator (Your Age on Other Planets)
Enter your birth date; the tool returns your age on Mercury, Venus, Mars, Jupiter, Saturn, Uranus and Neptune using each planet's orbital period — a popular STEM / classroom / museum tool that turns abstract astronomy into a fun, personal number.
Conception Date Estimator
Enter the estimated due date or the last menstrual period (LMP); the tool applies the Naegele rule in reverse to estimate the conception date and fertile window (5 days before to day of ovulation), supporting due dates derived from ultrasound CRL — useful for prenatal planning and medical records.
Hijri (Islamic) ⇄ Gregorian Calendar Converter
Enter a Gregorian date or a Hijri (Islamic) date; the tool converts between the two using the tabular Umm al-Qura algorithm (also known as the Kuwaiti algorithm) — useful for Islamic festivals (Ramadan, Hajj, Eid), cross-cultural documents and historical records.
Palindrome Date Calculator
Enter a date and a format (DD/MM/YYYY, MM/DD/YYYY, YYYY-MM-DD, etc.); the tool tells you whether it is a palindrome date (reads the same forwards and backwards, e.g. 22/02/2022) and lists the next five upcoming palindrome dates. A fun tool for picking wedding dates, anniversaries or other "perfectly symmetric" days.
Next Leap Year Calculator
Enter a starting year; the tool lists the next 5 leap years (Gregorian rule: divisible by 4 but, if divisible by 100, must also be divisible by 400), each with its distance in years from the start, plus the most recent prior leap year. Useful for project deadlines, birthday-on-Feb-29 planning and calendar trivia.
Year Fraction Calculator (Day-Count Conventions: ACT/365, ACT/360, 30/360)
Enter two dates; the tool simultaneously reports the year fraction t under the four most-used day-count conventions (ACT/ACT, ACT/365 Fixed, ACT/360, 30/360 ISDA). Foundational for bond accrued interest, interest-rate swaps, annuities and insurance actuarial calculations.
Age Difference Calculator (Two Birth Dates)
Enter two people's birth dates; the tool returns the gap in years, months and days, plus the total day count and a percent comparison. Answers the most-Googled "how much older am I than my partner / sibling?" question.
Days Until Next Birthday Calculator
Enter your birth date; the tool returns the days and weeks remaining until your next birthday, the age you will be turning and the weekday it falls on — handles the Feb 29 leap-year case (rolling celebrations to Mar 1 in non-leap years per common convention).
Days Since Date Calculator
Enter any past date; the tool instantly reports the days, weeks, months and years elapsed since — handy for sobriety milestones, baby month-counts, employee tenure, product launch days, relationship anniversaries and any other "time since the event" tracker.
Hotel Nights & Days Calculator
Enter check-in and check-out dates; the tool returns nights (the unit hotels actually charge) and total inclusive days (counting arrival and departure) — the standard tool for booking comparisons and trip planning anywhere in the world.
Book Finish Date Calculator (Pages per Day)
Enter the book's total pages, pages already read, how many pages you plan to read per day and the start date; the tool returns the projected finish date and the number of days remaining — useful for reading challenges, Goodreads goals and textbook planning.
Reverse Business Days Calculator (Start Date from Deadline)
Enter the deadline and the number of business days needed; the tool counts backwards, skipping Saturdays and Sundays, to return the latest possible start date — useful for SLA countdowns, project scheduling and signing-deadline reminders.
Lifetime Heartbeats Calculator
Enter your birth date and average resting heart rate to see how many beats your heart has logged so far, and to project the lifetime total at your expected lifespan — a sobering perspective shift.
Midpoint Date Calculator
Enter two dates and instantly read the exact day in the middle — useful for half-anniversaries, project mid-point check-ins, the median day of a trip, plus a "you are X% through the span" progress indicator.
Age on a Specific Date Calculator
Enter a birth date and any target date (past or future); the tool returns exact age (years / months / days) and total days lived on that date — handy for graduation day, retirement, visa age cutoffs and insurance renewals.
Days Alive Calculator (Life in Days, Weeks and Hours)
Enter your date of birth to see how many days, weeks, hours and minutes you have been alive — and what fraction of an average lifespan that represents.
Menstrual Cycle Phase Calculator (Menses / Follicular / Ovulation / Luteal)
Enter the first day of your last period and average cycle length to identify the current phase (menses / follicular / ovulation / luteal) and days until the next period.
TV Series Completion Time Calculator
Enter total episodes, runtime per episode and how many minutes you can watch per day to see how many days the binge will take and the predicted finish date.
Meeting Time-Zone Overlap Calculator
Enter two cities' UTC offsets and working hours to find the overlap window in both local times — useful for scheduling cross-timezone meetings.
Last Day of Month & Days-in-Month Calculator
Enter a year and a month to find the last day of that month (with weekday), the number of days in the month, the count of each weekday in the month and whether the year is a leap year.
Leap Year Checker (with Next Leap Year)
Enter a year to instantly check if it is a leap year (Gregorian / Julian), see the rule explanation and the previous & next leap years.
Birthday Weekday Forecast (Next N Years)
Enter a date of birth and a forecast horizon — get the weekday and age for each upcoming birthday, so you can plan ahead for that next weekend birthday.
Day / Week / Month / Quarter / Year Progress Calculator
Pick a period (today / week / month / quarter / year) to see what percentage has elapsed, how many days remain and a visual progress bar — handy for deadline pacing.
Next Birthday Countdown Calculator
Enter your date of birth to instantly see how many days, hours, minutes and seconds remain until your next birthday, the weekday it falls on, the age you turn and the corresponding zodiac sign.