Date difference on two systems

Forum to discuss the new web client version of Servoy.

Date difference on two systems

Postby omar » Tue Oct 04, 2022 3:52 pm

Hi Guys,

I have a strange issue. My customer has an NG-client solution with a PostgreSQL database. For a specific record a date field in the database has the value 1947-07-11. This is shown correctly locally but on the Server it is shown as 1947-07-10 in the solution. DB Visualizer shows 1947-07-11 on both systems. The date and timezone setting on the server appear to be correct and show the correct date and time. The Servoy server date/time settings are set to default (client machine date/time). Any idea's?
Intrasoft, Founder
Omar van Galen
omar@intrasoft.nl
+31-(0)6-21234586
Servoy Developer
omar
 
Posts: 377
Joined: Sat Feb 12, 2011 4:51 pm
Location: Intrasoft, The Netherlands

Re: Date difference on two systems

Postby mboegem » Wed Oct 05, 2022 11:06 am

Hi Omar,

to me this still looks like timezone issue.
midnight could result in 11pm on the previous day.

What do you see when you also expose HH:mm of this dataprovider in your solution?
Marc Boegem
Solutiative / JBS Group, Partner
Servoy Specialist
• Servoy Certified Developer
• Servoy Valued Professional
• Freelance Developer

Image
User avatar
mboegem
 
Posts: 1749
Joined: Sun Oct 14, 2007 1:34 pm
Location: Amsterdam

Re: Date difference on two systems

Postby omar » Wed Oct 05, 2022 4:16 pm

Hi Marc,

You are probably right, I asked the administrator to update the TimeZone settings on the server. Once that's done I'll check again. Thanks for your time!
Intrasoft, Founder
Omar van Galen
omar@intrasoft.nl
+31-(0)6-21234586
Servoy Developer
omar
 
Posts: 377
Joined: Sat Feb 12, 2011 4:51 pm
Location: Intrasoft, The Netherlands


Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 3 guests

cron