[TYPO3-calendar] Timestamp UTC problem

Sebastian Reinhardt s.reinhardt at sevensix.eu
Tue May 5 11:19:47 CEST 2015


Hi,

as i can see, the cal-events are stored by timestamp in UTC-time, and 
are converted with strftime to the actual time, right?
Because here in Germany one event start_time is stored with an unix 
timestamp of 28800 (= 9:00) in the db but shows up correctly in FE with 
8:00 (an thats what we choosed for the event when it ws created).

So how do i correctly convert the unix-timestamp when i get the 
strt_date by typoscript RECORDS? Because i get the stored value of 
"28800" from the database( which is still 9:00) but i have to send the 
correct "timezoned" timestamp fo 8:00... i can't just substract 3600, 
can i? Whats about the summer/wintertime?

So how do i get the correct start_time as a unix timestamp?

thx for help

Sebastian



More information about the TYPO3-project-calendar mailing list