Wednesday, 6 April 2016

Storing updatedOn as UTC

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 >= UTC +1? 

Thanks,
Warren

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/99684af9-3113-4029-a16c-30e0c951689f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment