GET /time/convert
Convierta una fecha y hora de una zona horaria a otra.
from
requerido
Source timezone (e.g. Europe/Oslo)
to
requerido
Target timezone (e.g. America/New_York)
fecha y hora
requerido
DateTime to convert (e.g. 2026-03-30 12:00:00)
| Nombre | Requerido | Predeterminado | Descripcion |
|---|---|---|---|
from |
Si | - | Source timezone (e.g. Europe/Oslo) |
to |
Si | - | Target timezone (e.g. America/New_York) |
fecha y hora |
Si | - | DateTime to convert (e.g. 2026-03-30 12:00:00) |
curl "https://nordapi.ee/api/v1/time/convert?from=Europe/Oslo&to=America/New_York&datetime=2026-03-30+12:00:00"
{
"data": {
"conversionResult": {
"date": "03/30/2026",
"dateTime": "2026-03-30T06:00:00",
"day": 30,
"dstActive": true,
"hour": 6,
"milliSeconds": 0,
"minute": 0,
"month": 3,
"seconds": 0,
"time": "06:00",
"timeZone": "America/New_York",
"year": 2026
},
"fromDateTime": "2026-03-30T12:00:00",
"fromTimezone": "Europe/Oslo",
"toTimeZone": "America/New_York"
},
"success": true
}