Rounding in date math

I am currently working on an alerting process of kibana watcher and I want to clarify the rounding of the date math in elasticsearch. As the reference said /d of the date math will round the time to the nearest day. That means if the date string is 2019-10-24T11:00:00 and if we round it by using /d it will round to 2019-10-24T00:00:00. Also if the date string is 2019-10-24-T13:00:00 rounded by /d will it rounded to 2019-10-24T00:00:00 or 2019-10-25T00:00:00.
Shan Jayathilaka.

this notation will always round to the current day and never round up.

Hi @spinscale,
Thank you for the reply. Could you please explain your answer a little bit?

You can read more about rounding here

Can you explain what is unclear so I can try and explain it better?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.