Tempokonvertilo
Konverti tempon inter sekundoj, minutoj, horoj, tagoj, semajnoj kaj jaroj.
Results update as you type.
Pri tiu kalkulilo
A time converter changes a duration between milliseconds, seconds, minutes, hours, days, weeks, months and years. It converts through the second as a common base, and to keep long spans consistent it fixes a month at the average 30.44 days and a year at 365.25 days so leap years average out.
The everyday anchors are 60 seconds in a minute, 60 minutes in an hour, 24 hours in a day and 7 days in a week. The month and year here are averages rather than calendar values, which is why they will not match a specific date range exactly.
Worked example: to convert 3 hours to minutes, multiply by 60, giving 180 minutes. To find the seconds in a day, 24 × 60 × 60 = 86,400. A results table shows the same duration in every unit from milliseconds to decades, useful for timeouts, billing periods and project schedules.
Oftaj demandoj
Kiom da sekundoj estas en tago?
Tago havas 86, 400 sekundojn (24 × 60 × 60). Semajno havas 604, 800 sekundojn.
Kiom da horoj estas en jaro?
Uzante averaĝan jaron de 365,25 tagoj, estas ĉirkaŭ 8,766 horoj en jaro. Dum kvar jaroj la kvaron-tagoj aldonas unu aldonan superjaron.
Kiom longe daŭras monato ĉi tie?
Monato estas traktata kiel 1/ 12 de averaĝa jaro, ĉirkaŭ 30. 44 tagoj, ĉar kalendaraj monatoj varias de 28 al 31 tagoj. Por precizaj kalendaraj intervaloj uzu datumdiferencan ilon.
Kiom da minutoj estas en tago?
Tago entenas 1, 440 minutojn (24 × 60), kaj semajno entenas 10, 080 minutojn. Tio faciligas la grandecon de tempomezuriloj kaj ŝovplanistoj.
Kial tiu ĉi tempokonvertilo uzas 365,25 tagojn por jaro?
La tempokonvertilo mezuras la ekstran kvaron- tagon kiun superjaroj absorbas, tiel ke konvertita jaro estas 365. 25 tagoj. Tio konservas longdaŭrajn konvertojn konsekvencaj, kvankam ĝi iomete diferencas de iu ajn unuopa kalendara jaro.
Kiel mi konvertas sekundojn al horoj?
Dividu la nombron de sekundoj per 3600, ĉar horo estas 60 × 60 sekundoj. Do 7200 sekundoj estas precize 2 horoj.
API - uzi tiun kalkulilon el kodo
Alvoku tiun kalkulilon kiel liberan JSON- finpunkton - neniu ŝlosilo necesas. Sendu la malsuprajn kampovalorojn kiel demandparametroj aŭ JSON. Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. Legi la plenan API- dokumentaron →
Finpunkto
GET https://calculator.free/api/v1/time/
curl
curl "https://calculator.free/api/v1/time/?amount=1&from=h&to=min"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/time/?" + new URLSearchParams({
"amount": "1",
"from": "h",
"to": "min"
}));
const data = await r.json();
console.log(data.results);
La rezultoj estas taksadoj por ĝenerala gvidado nur, ne financa, medicina aŭ imposta konsilo.