A good practice is to send dates (where time is not relevant) as strings Sent from my iPhone
On Sep 12, 2013, at 5:45 AM, Tom Chiverton <[email protected]> wrote: > On 12/09/2013 09:22, Justin Mclean wrote: >> Hi, >> >>> Whenever we want a date to mean a particular day, we set the hours to 12, >>> which almost always solves the problem with out too many changes. >> Given a limited range of time zones that should work. >> >> You may still have to be careful if your application is used world wide eg >> take New Zealand Australia (+12) and USA West Cost (-8) and there's a 20 >> hour time difference. > Yeah, it's a safety net only really - but in our case everything is mediated > by a server in UTC so the two extremes are never directly compared on the > client, and both should agree on the days between dates. > > Tom >
