TimeStream and time zones

0

I have IoT things sending timestamps in GMT to a TimeStream table. This means that the data is corrected to GMT no matter where the data was collected. Are there time zone shift functions that I am missing? The only thing I can find (and works OK) is using time - 5h.

Are there any functions that correct based on an actual timezone?

flycast
demandé il y a 2 ans1202 vues
1 réponse
1

Hi

Currently, timestream does not support Timezone. The only way available if the input time different from UTC is to add or subtract to offset before input into table.

AWS
INGÉNIEUR EN ASSISTANCE TECHNIQUE
Kevin_Z
répondu il y a 2 ans
  • Can you please clarify how actually that works?

    Because if I simply add +1 Hour (3600 sec) to UTC timestamp, I received that

    "RejectedRecords":[{"Reason":"The record timestamp is outside the time range [2023-06-19T03:15:36.657Z, 2023-06-29T15:55:36.657Z) of the data ingestion window.","RecordIndex":0}]}'

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions