TapeTrack Documentation

Because there is more to tape management than you ever realized

User Tools

Site Tools


master:date_tester

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
master:date_tester [2020/06/17 00:17] – [Date Range] Scott Cunliffemaster:date_tester [2025/01/21 22:07] (current) – external edit 127.0.0.1
Line 14: Line 14:
 Dates can be entered in several formats, using a single year or a range of dates to span between. Dates can be entered in several formats, using a single year or a range of dates to span between.
  
-Dates can also be entered as specified dates, such as 2019, or using relative values such as Y-1 which will give you a corresponding date of last year.+Dates can also be entered as literal dates, such as 2019, or using date calculation variables such as Y-1 which will give you a corresponding date of last year.
  
-=== Syntax ===+==== Date Calculation Variables ==== 
 + 
 +=== Variable Syntax ===
  
 ^ Syntax ^ Description ^ ^ Syntax ^ Description ^
 | YYYY-MM-DD | ISO Date Format | | YYYY-MM-DD | ISO Date Format |
 | * | Today | | * | Today |
-| W | This Week | +| W | Start of the Week | 
-| P | The oldest Date +| P | The oldest date 
-| F | The most Future Date | +| F | The most future date 
-| *±x | Today plus or minus number of days (x). +| M | The first day of the month | 
-| M | The first day of this month | +| m | The last day of the month. |
-| m | The last day of this month. |+
 | Y | The first day of the year.  | | Y | The first day of the year.  |
 | y | The last day of the year. | | y | The last day of the year. |
-| M±x | The first day of the month plus or minus number of months (x). | + 
-M±x±y | The first day of the month plus or minus number of months (x), plus or minus number of days (y). | +=== Variable Syntax Examples === 
-| Y±x | The first day of the year plus or minus x months. + 
-Y±x±y The first day of the year plus or minus number of years (x) plus or minus number of months (y). +^ Syntax ^ Description ^ 
-Y±x±y±z The first day of the year plus or minus number of years (x) plus or minus number of months (y) plus or minus number of days (z). |+Y-1:y-1 January 1st to December 31st last year | 
 +M-1:m-1 1st of last month to the last day of last month 
 +W-2:*   2 weeks ago until today | 
 + 
 ==== Date Examples ==== ==== Date Examples ====
  
master/date_tester.1592353053.txt.gz · Last modified: 2025/01/21 22:07 (external edit)