Purpose Check that a date is in the past |
Solution // sample value // any date in valid date format: // d.m.y, m/d/y, m-d-y, y.m.d, y/m/d, y-m-d Set V[mydate] "01.12.2019" // check that date
is in the past if V[diff<0] Message "E: &V[mydate] is not in the past" -statusline endif |
Components |