Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions data-explorer/kusto/query/ago-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,11 @@ T | where Timestamp > ago(1h)
* [timespan datatype](scalar-data-types/timespan.md)
* [totimespan datatype](./totimespan-function.md)
* [make-timespan function](make-timespan-function.md)
* [startofday function](./startofday-function.md)
* [startofweek function](./startofweek-function.md)
* [startofmonth function](./startofmonth-function.md)
* [startofyear function](./startofyear-function.md)
* [endofday function](./endofday-function.md)
* [endofweek function](./endofweek-function.md)
* [endofmonth function](./endofmonth-function.md)
* [endofyear function](./endofyear-function.md)
6 changes: 5 additions & 1 deletion data-explorer/kusto/query/day-of-week-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,8 @@ print Timespan = dow, Integer = toint(dow/1d)

## Related content

[The timespan data type](scalar-data-types/timespan.md)
* [The timespan data type](scalar-data-types/timespan.md)
* [startofweek function](./startofweek-function.md)
* [endofweek function](./endofweek-function.md)
* [week_of_year function](./week-of-year-function.md)
* [ago function](./ago-function.md)
7 changes: 7 additions & 0 deletions data-explorer/kusto/query/endofday-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,10 @@ The following example returns the end of the day for the specified date.
|2016-12-31 23:59:59.9999999|
|2017-01-01 23:59:59.9999999|
|2017-01-02 23:59:59.9999999|

## Related content

* [startofday function](./startofday-function.md)
* [endofweek function](./endofweek-function.md)
* [endofmonth function](./endofmonth-function.md)
* [endofyear function](./endofyear-function.md)
7 changes: 7 additions & 0 deletions data-explorer/kusto/query/endofmonth-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,10 @@ The following example returns the end of the month for the specified date.
|2016-12-31 23:59:59.9999999|
|2017-01-31 23:59:59.9999999|
|2017-02-28 23:59:59.9999999|

## Related content

* [startofmonth function](./startofmonth-function.md)
* [endofday function](./endofday-function.md)
* [endofweek function](./endofweek-function.md)
* [endofyear function](./endofyear-function.md)
10 changes: 10 additions & 0 deletions data-explorer/kusto/query/endofweek-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,13 @@ The following example returns the end of the week for the specified date.
|2016-12-31 23:59:59.9999999|
|2017-01-07 23:59:59.9999999|
|2017-01-14 23:59:59.9999999|

## Related content

* [startofweek function](./startofweek-function.md)
* [endofday function](./endofday-function.md)
* [endofmonth function](./endofmonth-function.md)
* [endofyear function](./endofyear-function.md)
* [dayofweek function](./day-of-week-function.md)
* [week_of_year function](./week-of-year-function.md)
* [ago function](./ago-function.md)
7 changes: 7 additions & 0 deletions data-explorer/kusto/query/endofyear-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,10 @@ The following example returns the end of the year for the specified date.
|2016-12-31 23:59:59.9999999|
|2017-12-31 23:59:59.9999999|
|2018-12-31 23:59:59.9999999|

## Related content

* [startofyear function](./startofyear-function.md)
* [endofday function](./endofday-function.md)
* [endofweek function](./endofweek-function.md)
* [endofmonth function](./endofmonth-function.md)
10 changes: 10 additions & 0 deletions data-explorer/kusto/query/startofday-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,13 @@ range offset from -1 to 1 step 1
|2016-12-31 00:00:00.0000000|
|2017-01-01 00:00:00.0000000|
|2017-01-02 00:00:00.0000000|

## Related content

* [startofweek function](./startofweek-function.md)
* [startofmonth function](./startofmonth-function.md)
* [startofyear function](./startofyear-function.md)
* [endofday function](./endofday-function.md)
* [endofweek function](./endofweek-function.md)
* [endofmonth function](./endofmonth-function.md)
* [endofyear function](./endofyear-function.md)
10 changes: 10 additions & 0 deletions data-explorer/kusto/query/startofmonth-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,13 @@ range offset from -1 to 1 step 1
|2016-12-01 00:00:00.0000000|
|2017-01-01 00:00:00.0000000|
|2017-02-01 00:00:00.0000000|

## Related content

* [startofday function](./startofday-function.md)
* [startofweek function](./startofweek-function.md)
* [startofyear function](./startofyear-function.md)
* [endofday function](./endofday-function.md)
* [endofweek function](./endofweek-function.md)
* [endofmonth function](./endofmonth-function.md)
* [endofyear function](./endofyear-function.md)
7 changes: 7 additions & 0 deletions data-explorer/kusto/query/startofweek-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,10 @@ range offset from -1 to 1 step 1
|2016-12-25 00:00:00.0000000|
|2017-01-01 00:00:00.0000000|
|2017-01-08 00:00:00.0000000|

## Related content

* [dayofweek function](./day-of-week-function.md)
* [endofweek function](./endofweek-function.md)
* [week_of_year function](./week-of-year-function.md)
* [ago function](./ago-function.md)
10 changes: 10 additions & 0 deletions data-explorer/kusto/query/startofyear-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,13 @@ range offset from -1 to 1 step 1
|2016-01-01 00:00:00.0000000|
|2017-01-01 00:00:00.0000000|
|2018-01-01 00:00:00.0000000|

## Related content

* [startofday function](./startofday-function.md)
* [startofweek function](./startofweek-function.md)
* [startofmonth function](./startofmonth-function.md)
* [endofday function](./endofday-function.md)
* [endofweek function](./endofweek-function.md)
* [endofmonth function](./endofmonth-function.md)
* [endofyear function](./endofyear-function.md)
9 changes: 8 additions & 1 deletion data-explorer/kusto/query/week-of-year-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,11 @@ Returns an integer that represents the week number. The week number is calculate

> [!NOTE]
> `weekofyear()` is an obsolete variant of this function. `weekofyear()` was not ISO 8601 compliant; the first week of a year was defined as the week with the year's first Wednesday in it.
The current version of this function, `week_of_year()`, is ISO 8601 compliant; the first week of a year is defined as the week with the year's first Thursday in it.
The current version of this function, `week_of_year()`, is ISO 8601 compliant; the first week of a year is defined as the week with the year's first Thursday in it.

## Related content

* [startofweek function](./startofweek-function.md)
* [endofweek function](./endofweek-function.md)
* [dayofweek function](./day-of-week-function.md)
* [ago function](./ago-function.md)