{"success":true,"version":"v1","request":{"tool":"get_calculator_schema","calculator_id":"time"},"result":{"entity_type":"calculator","id":"time","calculator_id":"time","canonical_url":"https://tttkmbb.com/conversion/time","name":"Time Converter","title":"Time Unit Converter – Seconds, Minutes, Hours, Days, Weeks, Months and Years","category":"conversion","category_name":"Unit Conversion","tool_name":"convert_time","featured_mcp_tool":false,"description":"Converts durations between nanoseconds, microseconds, milliseconds, seconds, minutes, hours, days, weeks, fortnights, 30-day months, 365-day years and Julian years (365.25 days).","use_when":"You need a duration in another unit, e.g. hours to minutes, days to weeks or seconds to milliseconds.","do_not_use_when":"You need the time between two calendar dates (use date-difference), a date shifted by a duration (use add-days), or a clock-time difference (use time-duration).","inputs":[{"name":"value","label":"Value","type":"number","required":true,"description":"Amount to convert, expressed in from_unit.","example":3},{"name":"from_unit","label":"From unit","type":"enum","required":true,"values":[{"value":"ns","label":"Nanosecond (ns)","aliases":["nanosecond","nanoseconds"]},{"value":"us","label":"Microsecond (μs)","aliases":["μs","microsecond","microseconds"]},{"value":"ms","label":"Millisecond (ms)","aliases":["millisecond","milliseconds","msec"]},{"value":"s","label":"Second (s)","aliases":["second","seconds","sec","secs"]},{"value":"min","label":"Minute (min)","aliases":["minute","minutes","mins"]},{"value":"h","label":"Hour (h)","aliases":["hour","hours","hr","hrs"]},{"value":"day","label":"Day (day)","aliases":["days","d"]},{"value":"week","label":"Week (week)","aliases":["weeks","wk","wks"]},{"value":"fortnight","label":"Fortnight (fortnight)","aliases":["fortnights"]},{"value":"month_30","label":"Month (30 days) (month_30)","aliases":["month-30","month 30","month30","month·30","month (30 days)","month-(30-days)","month(30days)","month·(30·days)","month_(30_days)","month","months","mo","30-day month","30-day-month","30 day month","30daymonth","30·day·month","30_day_month"]},{"value":"year_365","label":"Year (365 days) (year_365)","aliases":["year-365","year 365","year365","year·365","year (365 days)","year-(365-days)","year(365days)","year·(365·days)","year_(365_days)","year","years","yr","yrs","common year","common-year","commonyear","common·year","common_year","365-day year","365-day-year","365 day year","365dayyear","365·day·year","365_day_year"]},{"value":"year_julian","label":"Julian year (365.25 days) (year_julian)","aliases":["year-julian","year julian","yearjulian","year·julian","julian year (365.25 days)","julian-year-(365-25-days)","julian year (365 25 days)","julianyear(36525days)","julian·year·(365·25·days)","julian_year_(365_25_days)","julian year","julian-year","julianyear","julian·year","julian_year","julian years","julian-years","julianyears","julian·years","julian_years","365.25-day year","365-25-day-year","365 25 day year","36525dayyear","365·25·day·year","365_25_day_year"]}],"description":"Unit of the input value. Accepted symbols: ns, us, ms, s, min, h, day, week, fortnight, month_30, year_365, year_julian; spelled-out names and common abbreviations are accepted too.","example":"h"},{"name":"to_unit","label":"To unit","type":"enum","required":true,"values":[{"value":"ns","label":"Nanosecond (ns)","aliases":["nanosecond","nanoseconds"]},{"value":"us","label":"Microsecond (μs)","aliases":["μs","microsecond","microseconds"]},{"value":"ms","label":"Millisecond (ms)","aliases":["millisecond","milliseconds","msec"]},{"value":"s","label":"Second (s)","aliases":["second","seconds","sec","secs"]},{"value":"min","label":"Minute (min)","aliases":["minute","minutes","mins"]},{"value":"h","label":"Hour (h)","aliases":["hour","hours","hr","hrs"]},{"value":"day","label":"Day (day)","aliases":["days","d"]},{"value":"week","label":"Week (week)","aliases":["weeks","wk","wks"]},{"value":"fortnight","label":"Fortnight (fortnight)","aliases":["fortnights"]},{"value":"month_30","label":"Month (30 days) (month_30)","aliases":["month-30","month 30","month30","month·30","month (30 days)","month-(30-days)","month(30days)","month·(30·days)","month_(30_days)","month","months","mo","30-day month","30-day-month","30 day month","30daymonth","30·day·month","30_day_month"]},{"value":"year_365","label":"Year (365 days) (year_365)","aliases":["year-365","year 365","year365","year·365","year (365 days)","year-(365-days)","year(365days)","year·(365·days)","year_(365_days)","year","years","yr","yrs","common year","common-year","commonyear","common·year","common_year","365-day year","365-day-year","365 day year","365dayyear","365·day·year","365_day_year"]},{"value":"year_julian","label":"Julian year (365.25 days) (year_julian)","aliases":["year-julian","year julian","yearjulian","year·julian","julian year (365.25 days)","julian-year-(365-25-days)","julian year (365 25 days)","julianyear(36525days)","julian·year·(365·25·days)","julian_year_(365_25_days)","julian year","julian-year","julianyear","julian·year","julian_year","julian years","julian-years","julianyears","julian·years","julian_years","365.25-day year","365-25-day-year","365 25 day year","36525dayyear","365·25·day·year","365_25_day_year"]}],"description":"Unit to convert into (same symbols as from_unit).","example":"min"}],"outputs":[{"name":"result","label":"Result","type":"number","decimals":6,"description":"Converted value expressed in to_unit (rounded to 6 decimals; see result_text for very small or very large values)."},{"name":"result_text","label":"Conversion","type":"string","decimals":4,"description":"The conversion as text with 6 significant figures, e.g. \"5 mi = 8.04672 km\"."},{"name":"formula","label":"Unit relation","type":"string","decimals":4,"description":"Relation used, e.g. \"1 mi = 1.609344 km\"."},{"name":"factor","label":"Factor","type":"number","decimals":12,"description":"Multiplier from from_unit to to_unit (result = value × factor); absent for non-linear conversions."},{"name":"conversion_table","label":"Conversion table","type":"object","decimals":12,"description":"The input value expressed in every supported time unit (6 significant figures), keyed by unit symbol."}],"input_schema":{"type":"object","properties":{"value":{"description":"Amount to convert, expressed in from_unit.","type":"number","examples":[3]},"from_unit":{"description":"Unit of the input value. Accepted symbols: ns, us, ms, s, min, h, day, week, fortnight, month_30, year_365, year_julian; spelled-out names and common abbreviations are accepted too.","type":"string","enum":["ns","us","ms","s","min","h","day","week","fortnight","month_30","year_365","year_julian"],"examples":["h"]},"to_unit":{"description":"Unit to convert into (same symbols as from_unit).","type":"string","enum":["ns","us","ms","s","min","h","day","week","fortnight","month_30","year_365","year_julian"],"examples":["min"]}},"additionalProperties":false,"required":["value","from_unit","to_unit"]},"output_schema":{"type":"object","properties":{"result":{"description":"Converted value expressed in to_unit (rounded to 6 decimals; see result_text for very small or very large values).","type":"number"},"result_text":{"description":"The conversion as text with 6 significant figures, e.g. \"5 mi = 8.04672 km\".","type":"string"},"formula":{"description":"Relation used, e.g. \"1 mi = 1.609344 km\".","type":"string"},"factor":{"description":"Multiplier from from_unit to to_unit (result = value × factor); absent for non-linear conversions.","type":"number"},"conversion_table":{"description":"The input value expressed in every supported time unit (6 significant figures), keyed by unit symbol.","type":"object"}}},"formula":"result = value × factor, factor = (1 from_unit in s) / (1 to_unit in s)","method":"Calendar units are fixed averages: month_30 = 30 days, year_365 = 365 days, year_julian = 365.25 days; real calendar months (28–31 days) and leap years need a date calculator.","sources":[{"name":"NIST Special Publication 811 – Guide for the Use of the International System of Units (SI), Appendix B conversion factors","url":"https://www.nist.gov/pml/special-publication-811","type":"standard","retrieved_at":"2026-09-23"},{"name":"BIPM – The International System of Units (SI Brochure, 9th edition)","url":"https://www.bipm.org/en/publications/si-brochure","type":"standard","retrieved_at":"2026-09-23"},{"name":"Wikipedia – Conversion of units","url":"https://en.wikipedia.org/wiki/Conversion_of_units","type":"reference","retrieved_at":"2026-09-23"}],"freshness":{"type":"static","max_age_seconds":null,"note":"Deterministic formula with fixed constants; results never go stale. Inputs supplied by the caller determine the output."},"examples":[{"name":"3 hours to minutes","inputs":{"value":3,"from_unit":"h","to_unit":"min"},"expected":{"result":180,"factor":60,"formula":"1 h = 60 min","conversion_table":{"s":10800,"day":0.125}},"url":"https://tttkmbb.com/api/v1/calculate/time?value=3&from_unit=h&to_unit=min"},{"name":"90 days to weeks","inputs":{"value":90,"from_unit":"day","to_unit":"week"},"expected":{"result":12.857143,"conversion_table":{"h":2160,"month_30":3,"year_365":0.246575}},"url":"https://tttkmbb.com/api/v1/calculate/time?value=90&from_unit=day&to_unit=week"}],"faq":[{"q":"How long is a month or a year here?","a":"month_30 is exactly 30 days and year_365 exactly 365 days (year_julian is 365.25 days, the astronomical convention). For real calendar arithmetic use date-difference or add-days."},{"q":"Does 'day' account for daylight-saving changes?","a":"No. A day is exactly 86,400 s; clock changes and leap seconds are ignored."}],"tags":["time converter","hours to minutes","days to weeks","seconds to hours","milliseconds"],"related":[{"calculator_id":"date-difference","reason":"Exact days between two calendar dates."},{"calculator_id":"time-duration","reason":"Duration between two clock times."},{"calculator_id":"add-days","reason":"Add a duration to a date."}],"links":{"html":"https://tttkmbb.com/conversion/time","markdown":"https://tttkmbb.com/conversion/time.md","json":"https://tttkmbb.com/conversion/time.json","api":"https://tttkmbb.com/api/v1/calculate/time","schema":"https://tttkmbb.com/api/v1/calculators/time","openapi":"https://tttkmbb.com/openapi.json","mcp":"https://tttkmbb.com/mcp"},"version":"v1","updated_at":"2026-09-23"},"timestamp":"2026-09-23T23:23:57Z","next_actions":[{"tool":"run_calculator","calculator_id":"time","reason":"Run Time Converter with the inputs above."}],"links":{"markdown":"https://tttkmbb.com/conversion/time.md"}}