I'm using time and datetime modules in server and in client scripts. When I am receiving data that contains date from server - it is wrong and different to client because of wrong timezone and wrong time on server. How to deal with it and what is the best way to deal with it? Thanks
Best How To :
You should either convert the time to the time zone of the client, or show the time zone. I e, for a client in Warsaw show
"2015-05-14 11:40" or "2015-05-14 09:40 GMT" or similar.
Which one you want depends a lot on what data it is you are showing.