Takepos invoice date is tomorrow

Hello
Takepos create invoice date for tomorrow put payment is today (correct) is there a solution to POS date appear 26/03/2024 which is correct
PHP 8.1 timezone Africa/Cairo
Ubuntu 20.04.6 LTS Local time: Tue 2024-03-26 23:28:08 EET
but when make payment to close the invoice i found invoice date 27-3-2024 due date 27-03-2024 payment 26-03-2023
is there a hit
Screenshot 2024-03-26 at 11.31.34 PM

Hi @Ahmedegy
Check if values of “TimeZone PHP (server) and => PHP Time (server)”
in Home->Admin Tools-> About Dolibarr are the same as your local time.
If not you can amend it by going to Home->Setup->Other Setup and entering

Name Value
MAIN_SERVER_TZ Africa/Cairo

Hi Soni
Thanks for answer, I checked al the same time zone as attached any other idea?

@Ahmedegy which Dolibarr version are you using?

Hello
Dolibarr V. 19.0.1
also i tried version 18.0.3 it the same takepos set the invoice date for wrong date at the same time it show the correct date in the top of screen