PT OPS

Time

Endpoints for reading the current time in Norway.

Last updated: October 8, 2026
GET /norwayTime Authentication required

Returns the current time in Norway (Europe/Oslo), formatted as dd.MM.yyyy HH:mm:ss.

{ "norwayTime": "07.09.2026 14:32:10" }
GET /norwayTime/custom/:format Authentication required

Returns the current Norway time using one of the accepted formats:

  • dd.MM.yyyy HH:mm:ss
  • dd.MM.yyyy HH:mm
  • dd.MM.yyyy
  • HH:mm:ss
  • HH:mm

Returns 400 Bad Request if the format is not one of the above.

GET /norwayTime/offset Authentication required

Returns the current UTC offset (in hours) for Norway.

{ "offset": 2 }