- Posts: 148
- Thank you received: 16
Date / Timeproblem
- FrankM
- Topic Author
- Offline
- Premium Member
-
Less
More
9 years 6 months ago #71382
by FrankM
Productiv: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Testsys: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Sorry, english isn't my native language.
Date / Timeproblem was created by FrankM
ok, i live in germany. We use daylight saving time 
Example when someone register for an event.
Actual Time: 20:00:00
MySQL-Entry: 19:00:00
In EB that's no error, but i use some php scripts to show waitingslist. And then i come in trouble :ohmy: I have fixed my php-script to solve this problem but i don't know why eb store this time :woohoo:
My Hoster checked all timesettings on the server. All are ok.
Joomla is in the correct timezone Europe/Berlin
Joomla 3.4.5
EB 1.7.4
I can't update atm EB, i have too many overrides and no time for it
Someone with an idea?

Example when someone register for an event.
Actual Time: 20:00:00
MySQL-Entry: 19:00:00
In EB that's no error, but i use some php scripts to show waitingslist. And then i come in trouble :ohmy: I have fixed my php-script to solve this problem but i don't know why eb store this time :woohoo:
My Hoster checked all timesettings on the server. All are ok.
Joomla is in the correct timezone Europe/Berlin
Joomla 3.4.5
EB 1.7.4
I can't update atm EB, i have too many overrides and no time for it

Someone with an idea?
Productiv: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Testsys: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Sorry, english isn't my native language.
Please Log in or Create an account to join the conversation.
- FrankM
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 16
9 years 5 months ago #72122
by FrankM
Productiv: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Testsys: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Sorry, english isn't my native language.
Replied by FrankM on topic Date / Timeproblem
It looks that EB stored the Date/Time in UTC.
So i must add the time difference to my output.
Example:
That's no EB problem, only my problem to code :laugh:
So i must add the time difference to my output.
Example:
Code:
$timestamp = strtotime($datum_kurz2) + 60*60; //3600 Sekunden addieren
That's no EB problem, only my problem to code :laugh:
Productiv: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Testsys: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Sorry, english isn't my native language.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 5 months ago #72212
by Tuan Pham Ngoc
. That's none Joomla way. In Joomla, we can use JHtml::_('date'.... method as we are using in EB and it works very well
Tuan
Replied by Tuan Pham Ngoc on topic Date / Timeproblem

Tuan
The following user(s) said Thank You: FrankM
Please Log in or Create an account to join the conversation.
- FrankM
- Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 148
- Thank you received: 16
9 years 5 months ago #72256
by FrankM
Productiv: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Testsys: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Sorry, english isn't my native language.
Replied by FrankM on topic Date / Timeproblem
I will work on my coding style

Productiv: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Testsys: Joomla 3.5.1 / EB 2.4.3 / PHP 7.0.5
Sorry, english isn't my native language.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
9 years 5 months ago #72285
by Tuan Pham Ngoc
. Good luck with your own coding style
Replied by Tuan Pham Ngoc on topic Date / Timeproblem

The following user(s) said Thank You: FrankM
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.