Egypt Daylight Saving Time and Your Software: A tzdata and UTC Map to Prevent Booking and Invoice Errors Before 30 April 2027

Short answer: Egypt daylight saving time applies under Law No. 24 of 2023 from the last Friday of April until the end of the last Thursday of October, and the next change happens at midnight on Friday 30 April 2027. To avoid errors in bookings, invoices and scheduled jobs: store times in UTC, use the time zone name Africa/Cairo rather than a fixed offset such as +02:00, update time zone data (tzdata) in every layer of your system, and test the two critical hours before they arrive.
Every year many people search for when the clocks change, but the more important question for clinic and business owners is this: do your software systems know that Egypt daylight saving time is in force, and when it starts and ends? Your booking system, accounting software, patient reminders, nightly backups and e-invoicing integration all depend on calculating the time correctly. In this guide we map the text of the law to the rules of the IANA time zone database, pinpoint the two riskiest hours of 2027, and provide a map of where time zone data lives inside a system plus a 10-step checklist. This article is technical guidance, not legal advice.
What is Egypt daylight saving time under Law No. 24 of 2023?
Egypt daylight saving time means moving the official clock forward by sixty minutes every year from the last Friday of April until the end of the last Thursday of October, based on Article 1 of Law No. 24 of 2023 establishing the daylight saving time system, published in the Official Gazette (Issue 15 bis) on 16 April 2023 and in force from 17 April 2023. Egypt therefore runs on UTC+2 in winter and UTC+3 in summer.
The time zone database (tzdata) is an open rules file maintained by IANA that operating systems, programming languages and databases rely on to calculate local time for each region. The latest release at the time of writing is 2026f, released on 27 October 2026. The table below shows how the text of the law was translated into rules in the tzdata africa file:
| Text of the law | Rule in tzdata | Actual effect on the clock |
|---|---|---|
| From the last Friday of April | Apr lastFri 0:00 | The clock jumps from 23:59:59 on Thursday night to 01:00 on Friday morning |
| Until the end of the last Thursday of October | Oct lastThu 24:00 | The clock goes back from 23:59:59 to 23:00 on the same Thursday evening |
| Moved forward by sixty minutes | Offset 1:00 with the abbreviation EEST | UTC+3 in summer instead of UTC+2 (abbreviation EET) |
These rules were added in tzdata release 2023a on 22 March 2023, before the law itself was issued, based on the Egyptian government's announcement on 1 March 2023.
Which two hours of 2027 are the riskiest for your systems?
We ran the zdump tool on tzdata release 2026f for Africa/Cairo on 20 November 2026, and the next two changes appeared as follows. This is a direct observation from the data, assuming the law is not amended:
- A non-existent hour: on the night of Thursday 29 April 2027 the clock moves from 23:59:59 straight to 01:00 on Friday 30 April 2027, so any appointment or job set between 00:00 and 00:59 that day has no real moment behind it.
- A repeated hour: on the night of Thursday 28 October 2027 the clock goes back from 23:59:59 to 23:00, so the period from 23:00 to 23:59 happens twice on the same day, and local time alone is not enough to identify the exact moment.
For comparison, the two changes in 2026 happened on Friday 24 April 2026 and on the night of Thursday 29 October 2026. In practice, and this is a technical inference rather than a statistic, a "last hour" sales report may count 60 extra or missing minutes, a booking at 00:30 on 30 April 2027 may be rejected or silently shifted, and system logs stored in local time may look out of order on the October night.
Why is automatic clock setting on a device not enough?
Because a phone or computer sets the "current time" over the network, while calculating future appointments and reports depends on the tzdata rules stored inside each program. The history of Egypt daylight saving time shows why offsets should never be hard-coded, according to the tzdata release history and the comments in the africa file:
- In April 2015 daylight saving time was cancelled after it had been scheduled to start on the night of 30 April 2015.
- In July 2016 the government reversed a planned start on 7 July 2016, and tzdata release 2016f was issued for that reason on 5 July 2016.
- In 2023 the law was published on 16 April 2023, only 12 days before the first change on 28 April 2023.
By contrast, Microsoft's daylight saving time policy recommends that governments give ample notice of one year or more before any change so that updates arrive in time. Microsoft included the Egypt time zone update in its April 2023 updates, including KB5025221 for Windows 10 and KB5025230 for Windows Server 2022. A device or server that has not been updated for a long time may therefore carry outdated rules, and if you still run Windows 10 machines, see our Windows 10 end of support decision map.
Where does time zone data hide inside your system?
The common mistake is updating only the operating system, while many components carry their own copy of tzdata. The table below summarizes what the official documentation says for each component:
| Component | Where does it read time zone rules from? | What should you check? |
|---|---|---|
| Linux | The tzdata package under /usr/share/zoneinfo | Update the package, then verify with the zdump command |
| Windows and Windows Server | Microsoft rules delivered through Windows Update | The latest installed cumulative update |
| PHP | A built-in time zone database that ships with PHP, replaceable with the timezonedb extension from PECL | The PHP version and the date.timezone value |
| Java | Data inside the JDK or JRE, updated by upgrading Java or with Oracle's TZUpdater tool | The Java version on the server |
| MySQL | Time zone tables in the mysql schema, which installation does not load automatically | Load them with mysql_tzinfo_to_sql, then restart the server after every update |
| PostgreSQL | Its own copy of IANA data, or system data if built with the with-system-tzdata option | Update the package or PostgreSQL release |
| Python | System data first, then the tzdata package from PyPI if none is available | The tzdata package version in the runtime environment |
The MySQL documentation explains that loading time zone tables is not necessarily a one-time operation because the information changes, and that using a time zone name that has not been loaded returns an error. The PostgreSQL documentation states that it assumes the latest known rules will continue into the future, which means any new legal change is only known after a data update. If you run older PHP websites, see our PHP 8.2 upgrade plan.
What about scheduled jobs (cron)?
According to the Debian cron manual, when the clock changes by less than 3 hours, jobs that would have run in the skipped time are run soon after the change, and jobs that fall into the repeated time are not re-run. This behaviour is specific to that program and to jobs with fixed times, and does not necessarily apply to other application schedulers, so it is safer to schedule sensitive jobs outside 23:00 to 01:00 on the two change nights, or to run the server in UTC.
How is the e-invoicing integration affected?
The invoice document specification of the Egyptian Tax Authority's e-invoicing system states that the dateTimeIssued field is supplied in UTC and that the issue date and time cannot be in the future. The practical inference is that if a system sends local time as if it were UTC, the timestamp will be two hours ahead in winter or three hours ahead in summer, which may break the no-future rule or show the wrong date for invoices issued near midnight. Issue time should therefore be converted from Africa/Cairo to UTC with a library that relies on up-to-date tzdata, not by subtracting a fixed number. For operational details, see our e-receipt integration guide for clinic and ERP systems.
A 10-step checklist before 30 April 2027
- Store all timestamps in the database in UTC and convert them to Cairo time only for display.
- Use the zone name Africa/Cairo in settings and code, and avoid the fixed offset +02:00 and the abbreviations EET and EEST in program logic.
- Update the tzdata package in every server's operating system and verify the result with zdump.
- Review embedded copies: the PHP version, the Java version and the tzdata package in Python environments.
- Reload the MySQL time zone tables after every system data update, then restart the server.
- Install the latest Windows updates on reception, accounting and server machines.
- Check appointments and scheduled jobs between 00:00 and 00:59 on 30 April 2027 and between 23:00 and 23:59 on 28 October 2027.
- Make sure the e-invoicing integration converts issue time to UTC in a format ending with the letter Z.
- Ask your software or hosting provider for a documented test that moves a test environment's clock to the change night.
- Follow tzdata release announcements and any legislative change, because rules can change at short notice.
How can Smart One Group help?
At Smart One Group we review these points in our custom software projects such as clinic and ERP systems, and as part of managing hosting and servers and technical support. If you are choosing a new system, add the question "how does the system handle daylight saving time?" to your criteria for choosing a clinic management system. You can also contact us to arrange a technical review before the next change.
Frequently asked questions
When does Egypt daylight saving time start in 2027?
Under Law No. 24 of 2023 and current tzdata rules, clocks move forward at midnight on Friday 30 April 2027 and go back on the night of Thursday 28 October 2027, unless the law is amended.
Is automatic time sync on the server enough?
No. Synchronization only sets the current time; calculating appointments and reports depends on the tzdata rules inside the operating system and inside every program that carries its own copy.
Should the server run in UTC or Cairo time?
The safer practice is to store data in UTC and display it to users in Africa/Cairo time. This removes the ambiguity of the repeated hour and simplifies integration with systems that require UTC, such as e-invoicing.
Why not use a fixed offset such as +02:00?
Because Egypt runs on UTC+3 for about half the year, a fixed offset gives a result that is wrong by a full hour throughout the daylight saving period.
What if daylight saving time is cancelled or its dates change?
You will need to update tzdata and every embedded copy once a new release reflecting the change is issued. Systems that store UTC and use the zone name usually need only a data update, with no code changes.
How can I confirm my server knows the 2027 dates?
On Linux, run zdump -v -c 2027,2028 Africa/Cairo. It should show a switch to EEST on 30 April 2027 and a return to EET on 28 October 2027.




