You’ll very often find yourself working with dates. In this lesson, we’ll cover a number of the different tools you can use to do that in Less. We’ll show you how you can use a Date Transform tool to get a certain format out of a date column; how to use a Date Difference tool to get the difference between two dates; why the Count Business Days tool is perhaps better; we’ll demonstrate a Date Math tool to add or subtract a number of days from a date.Documentation Index
Fetch the complete documentation index at: https://docs.less.tech/llms.txt
Use this file to discover all available pages before exploring further.
Exercise
We’re working with the first 1.000.000 rows in the LINEITEM dataset (limit this in the Input tool) and you want to get the result shown below. We’re starting to get to a point where you can solve the exercises in a number of different ways. We used the Combine, Count Business Days, Date Transform, IF Column, Group By and Filter tools, but maybe you’ll come up with a different way. We ended up with 2 rows and used 13 tools to get the result.
