Which date?

Hello,

I understand the Glow API works on UTC time, with a DST offset. So right now the offset is currently -60 for BST.

So I am calling...

https://api.glowmarkt.com/api/v0-1/resource/xxxx/readings?from=2021-10-23T00:00:00&to=2021-10-23T23:59:59&period=P1D&offset=-60&function=sum

When accessing a resource for the current meter reading between 00:00 and 01:00 which date is required?

The UTC date (i.e., locally yesterday), or the date as per the local timezone?

Thank you for any assistance.

Colin

Comments

Sign In or Register to comment.