-1

In UWP Windows 10 apps, we can get the purchase date of the app or an add-on. (Documenation here)

var receipt = await CurrentApp.GetAppReceiptAsync();

But no were it's mentioned the date is in UTC or local user time! Thanks.

Blendester
  • 1,583
  • 4
  • 19
  • 43
  • 1
    Nor do I have any time for you question. – Richard Schneider Mar 02 '17 at 06:46
  • @RichardSchneider You may know the answer from a previous similar situation, or you may know it without having to actually try it. Soo.. go breath some fresh air ;) – Blendester Mar 02 '17 at 07:04
  • OP, you originally said "I've no time"; which is why I have no time to look at the question. – Richard Schneider Mar 03 '17 at 03:12
  • @RichardSchneider I said I have no time because the app is published and there is no time to try and test, publish the app, wait for store certification etc to finally see how it works. Anyway the problem is fixed, and apparently UWP apps are not your field of interest. good luck. :) – Blendester Mar 03 '17 at 06:32

1 Answers1

1

If you take a look at the receipt you will see that the date has 'Z' at the end:

PurchaseDate="2015-12-14T19:37:05.692Z"

This means that it's UTC time. Some references: one, two.

Community
  • 1
  • 1
Romasz
  • 29,662
  • 13
  • 79
  • 154