Current Time in Tripoli

Local time, UTC offset and daylight saving dates for the Africa/Tripoli time zone, plus a timestamp converter already set to it.

Current local time in Tripoli

Time zone facts for Africa/Tripoli
IANA identifierAfrica/Tripoli
Current UTC offsetUTC+02:00
AbbreviationGMT+2
Full nameEastern European Standard Time
RegionAfrica
Observes DSTNo
Unix timestamp now

Convert a timestamp to Tripoli time

The output zone below is preset to Africa/Tripoli, with daylight saving applied for whichever date you convert.

Unix timestamp to date

Auto-detect reads the magnitude: 10 digits are seconds, 13 milliseconds, 16 microseconds, 19 nanoseconds.

Converted date and time formats
Your local time
Selected time zone
UTC / GMT
ISO 8601
RFC 2822
Relative
Day of week
Day of year / week

Daylight saving time in Tripoli

Tripoli does not observe daylight saving time. Its offset stays at UTC+02:00 every day of the year, which makes it one of the simpler zones to work with: a fixed offset is enough to convert any timestamp, and there are no missing or repeated local hours.

Converting timestamps for this zone in code

Always pass the IANA identifier Africa/Tripoli rather than a numeric offset. The identifier carries the zone's entire history of offset and daylight saving changes, so a timestamp from any year converts correctly; a hard-coded offset is only right until the next rule change.

# Python
from datetime import datetime
from zoneinfo import ZoneInfo
datetime.fromtimestamp(1710050400, ZoneInfo("Africa/Tripoli"))

// JavaScript
new Intl.DateTimeFormat('en-GB', { timeZone: 'Africa/Tripoli',
  dateStyle: 'full', timeStyle: 'long' }).format(new Date(1710050400 * 1000));

<?php // PHP
(new DateTimeImmutable("@1710050400"))->setTimezone(new DateTimeZone("Africa/Tripoli"));

More languages on the code examples pages.

Other time zones in Africa

See all time zones →

Frequently asked questions

What is the current time in Tripoli?

The clock above shows the current time in the Africa/Tripoli time zone, updating every second from your own device clock. Tripoli is currently UTC+02:00 (GMT+2).

What is the UTC offset for Africa/Tripoli?

Tripoli stays on UTC+02:00 all year — this zone does not observe daylight saving time, so the offset never changes.

Does Tripoli observe daylight saving time?

No. Tripoli does not observe daylight saving time, so its offset from UTC is the same on every day of the year. That makes timestamp conversion for this zone simpler than for zones that shift twice a year.

How do I convert a Unix timestamp to Tripoli time?

Paste the timestamp into the converter on this page — the output zone is already set to Africa/Tripoli. In code, pass the IANA identifier Africa/Tripoli to your language's time zone function rather than hard-coding an offset, so daylight saving is handled for you.