Day (ms)
<Day (ms)> * 30 — 30 daysDate - <Day (ms)> — Shift the day value from the column back by one day.(Date - Date2) / <Day (ms)> — Number of days between two dates. If the column type is Days, dividing is not necessary in this case.Today (ms)
Today (ISO format)
2024-01-08T00:00:00.000Z.Now (ms)
Now (ISO format)
2024-01-08T15:53:46.749Z.+, -, *, /, you can use the following operators:5 Mod 4 = 1 — remainder of divisionpi * 2 — constant of number π (Pi) 3.14e * 2 — constant e 2.714! — factorial of a number2^3 or pow(2,3) — exponentiationsin(cos(tan(90))) — sine, cosine, tangentroot 4 + 1 = 3 — square root of 4 plus 1log 1000 = 3 — logarithm with base 10round(5.49999, 1) = 5.5 — rounding a number to 1 decimal placeroundDown(5.99, 1) = 5.9 — rounding down a number to 1 decimal placerandom(1, 10) — random number from 1 to 10absInt(-1234) = 1234 — absolute value of a numbermin(1, 2) = 1 — minimum number, expects two numbersmax(1, 2) = 2 — maximum number, expects two numbersfromToday(0) = Start of dayfromToday(-1) = Start of day - 1 day = Start of previous day — time offset from the start of the day by the specified number of days.fromToday(-1, Month(interval)) = Start of day - 1 month — time offset from the start of the day by the specified number of months.fromNow(-2, Month(interval)) = Current time - 2 months — offset of the current time by the specified interval, other parts of the date and time remain unchanged. For example, if the offset is in months, then the day, hour, etc. remain unchanged.fromNow(-2, Month(interval), Week(interval)) = Current time - 2 months and transition the date to the start of the week — offset of the current time and transition to the start of the specified interval.dateStart(<Today (ms)>, Month(interval)) — Transition of a specific date to the start of the specified intervaladdInterval(<Today (ms)>, Year(interval), -2) = Date - 2 years — Date offset by the specified intervaldateDiffDuration(<date1>, <date2>, Month(interval)) = date1 - date2 = number of months — Number of intervals between two datesaddInterval(<date>, Month, dateDiffDuration(date, date2, Month))