Storing updatedOn as UTC

2016-04-06 Thread Warren Zhang
Hey, Looking at the code for OAuth2ProviderBase in the .NET library, it looks like the check for whether or not the access token is expiring compares against DateTime.Now. Would I ever run into any problems if I stored updatedOn as a UTC time and, say, the server's local timezone was set to >=

Re: Storing updatedOn as UTC

2016-04-11 Thread 'Anash P. Oommen (AdWords API Team)' via AdWords API Forum
Hi Warren, Yes, the AdWords API .NET library assumes that UpdatedOn uses the same timezone as the server timezone. So if you use UpdatedOn in UTC and the server timezone is UTC+1, the library would always think that the token is expired. Could you file a feature request on https://github.com/