Press "Enter" to skip to content

Extracting Parts of DateTimes with KQL

Robert Cain continues a series on KQL:

In the previous post, Fun With KQL – Format_TimeSpan, we saw how to extract pieces of a timespan datatype. In this post, we’ll see how to extract parts of a datetime datatype using the datetime_part function.

As always, Robert has several examples to make things clear.