Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <h2>Current solution:</h2> <pre><code>YYYY/MM/DD+YY/MM/DD+DOW </code></pre> <ul> <li>all blocks (delimited by <code>+</code>) are optional as well as all parts of each block.</li> <li>first block denotes the starting date <ul> <li>if blank - denotes today</li> <li>if missing portion - denotes all... ie "//12" would denote the 12th of the month every month.</li> <li>negative denotes counting from the end of the period.. ie "//-1" denotes the last day of the month</li> <li>overruns are carried into the next month ie "//40" would be 40 days after the first of the month</li> </ul></li> <li>second block denotes the change in date between repetitions <ul> <li>if blank - set date (from first block)</li> <li>Add present portions - ie "/1/" means every month after the given starting date</li> </ul></li> <li>third block denotes the day of the week the calculated date should be moved to <ul> <li>available are <code>[m,t,w,r,f,s,d,b]</code> (7 days of the week, "business day")</li> </ul></li> </ul> <h2>Calculation:</h2> <ul> <li>Calculation start on the date specified in the first block, filling in the missing portions with the date the record is added. </li> <li>the DOW is then added to get a valid starting date. This is the first date of the event.</li> <li>the next date is calculated by adding the second block to the last calculated first block and adding the DOW to get the next date.</li> </ul> <h2>Examples:</h2> <ul> <li>on march 12th, 2008 - "2008/3/12"</li> <li>the first of the month every month - "//1+/1/"</li> <li>third Friday of the month every month - "//21+/1/+f"</li> <li>first weekday on or after 21st day after the 13th of the month - "//34+/1/+b"</li> <li>every 2 weeks from today - "+//14"</li> <li>last day of every second month starting with march - "/3/-1+/2/"</li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload