question

Upvotes
Accepted
3 0 0 0

REDI CacheControl: "Date" field

I'm developing a C# app to work with the REDI API. It uses the CacheControl object to subscribe to CacheEvents, and I've used your example as a starting point:

https://github.com/Refinitiv-API-Samples/Example.REDI.CSharp.Examples/tree/master/REDIConsoleOrders

One of the data fields in each CacheEvent is called "Date". My questions are:

  1. What is the meaning of this "Date" field?
  2. The value of the "Date" field includes both date and time information, but no time zone. So I need the time zone to use it correctly. Is it represented in UTC, America/New_York, the timezone of the machine running the REDIPlus app, or some other time zone?
  3. Can I expect the CacheEvents received during a session to all be the same? For example, if I start my REDIPlus app on Sunday at 21:05 New York time and let it run until it's forced to log off by the system at 20:00 Monday, will the value of "Date" be the same for all CacheEvents received during that time period?

Thanks in advance for your help.

Patrick

redi-apicaching
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

It's been a week since I asked this question, with no reply. Is someone available to answer, please?

Upvotes
Accepted
276 3 0 2

Hi @patrick.noble,


1) The "Date" field shows both the date and a time value, but the time value should be ignored. (i.e. take only the date from "Date").

2) The time zone used is the local machine time.

3) You should expect the date values to change as the actual dates change. (e.g. if an execution is received on 6/2, the Date will be 6/2, even if the initial snapshot occurred on 5/31)


Thanks,

Brian

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
3 0 0 0

One more question... At what time does the "Date" value change to the next day?

Thanks,
Patrick

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea