Rev 9640 | Rev 11273 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9640 | Rev 11242 | ||
---|---|---|---|
Line 4... | Line 4... | ||
4 | 4 | ||
5 | slib_author=Bernadette, Perrin-Riou |
5 | slib_author=Bernadette, Perrin-Riou |
6 | slib_title=Date |
6 | slib_title=Date |
7 | slib_parms=2\ |
7 | slib_parms=2\ |
8 | ,first date (written in format ddmmyyyy)\ |
8 | ,first date (written in format ddmmyyyy)\ |
9 | ,second date (written in format ddmmyyyy) |
9 | ,second date (written in format ddmmyyyy), or number of days to add\ |
10 | diff,option as diff, add |
10 | diff,option as diff, add |
11 | 11 | ||
12 | 12 | ||
13 |
|
13 | slib_out=<ul><li>with parameter <code>diff</code> (default), returns the number of days between the two dates.</li>\ |
- | 14 | <li>with parameter <code>add</code>, returns the first date plus the second number of days</li>\ |
|
- | 15 | <li>with parameter <code>add</code>, you can add also add the parameter <code>item</code> to return the date in a comma separated values format.</li>\ |
|
- | 16 | <li>with parameter <code>add</code>, you can add also add the parameter <code>nospace</code> to return a compacted format date (ddmmyyyy).</li></ul> |
|
14 | slib_example=12022013,18082013,diff\ |
17 | slib_example=12022013,18082013,diff\ |
15 | 12022013,13022013,diff\ |
18 | 12022013,13022013,diff\ |
16 | 12022013,18082013,diff\ |
19 | 12022013,18082013,diff\ |
17 | 18082013,12022013\ |
20 | 18082013,12022013\ |
18 | 12022004,18082004\ |
- | |
19 | 17012012,10092014\ |
21 | 17012012,10092014\ |
20 | 17012013,10092015\ |
- | |
21 | 17032013,10092013\ |
- | |
22 | 01022004,01032004\ |
- | |
23 | 12022013,0,add\ |
22 | 12022013,0,add\ |
24 | 12022013,20,add\ |
23 | 12022013,20,add\ |
25 | 04032013,-20,add\ |
24 | 04032013,-20,add\ |
26 | 12022013,3,add item\ |
25 | 12022013,3,add item\ |
27 | 18082013,365,add nospace\ |
26 | 18082013,365,add nospace\ |