Changeset 986755
- Timestamp:
- 09/10/2014 07:43:55 PM (12 years ago)
- Location:
- date-calculator
- Files:
-
- 2 edited
-
tags/1.0/readme.txt (modified) (4 diffs)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
date-calculator/tags/1.0/readme.txt
r986753 r986755 30 30 The following shortcodes are available: 31 31 32 `[date_add day="1" month="1" year="1" show="dayonly/monthonly/yearonly"]` 33 `[date_sub day="1" month="1" year="1" show="dayonly/monthonly/yearonly"]` 32 <code>[date_add day="1" month="1" year="1" show="dayonly/monthonly/yearonly"]</code> 33 <code>[date_sub day="1" month="1" year="1" show="dayonly/monthonly/yearonly"]</code> 34 34 35 35 36 =Examples:= 36 <b>Examples:</b> 37 37 38 38 … … 41 41 42 42 <code>[date_sub day="1"]</code> returns: 30.09.2014 43 [date_sub month="3"]returns: 01.07.201444 [date_sub year="4"]returns: 01.10.201043 <code>[date_sub month="3"]</code> returns: 01.07.2014 44 <code>[date_sub year="4"]</code> returns: 01.10.2010 45 45 46 [date_sub day="1" month="3" year="4"]would display: 30.06.201046 <code>[date_sub day="1" month="3" year="4"]</code> would display: 30.06.2010 47 47 48 48 … … 50 50 Suppose today is the 01.10.2014 51 51 52 [date_add day="1"]returns: 02.10.201453 [date_add month="3"]returns: 01.01.201554 [date_add year="4"]returns: 01.10.201852 <code>[date_add day="1"]</code> returns: 02.10.2014 53 <code>[date_add month="3"]</code> returns: 01.01.2015 54 <code>[date_add year="4"]</code> returns: 01.10.2018 55 55 56 [date_add day="1" month="3" year="4"] would display: 02.01.201856 <code>[date_add day="1" month="3" year="4"]</code> returns: 02.01.2018 57 57 58 58 … … 63 63 64 64 65 [date_add day="1" show="dayonly"]returns: 0266 [date_add month="3" show="monthonly"]returns: 0167 [date_add year="4" show="yearonly"]returns: 201865 <code>[date_add day="1" show="dayonly"]</code> returns: 02 66 <code>[date_add month="3" show="monthonly"]</code> returns: 01 67 <code>[date_add year="4" show="yearonly"]</code> returns: 2018 68 68 69 [date_sub day="1" show="dayonly"].[date_sub month="3" show="monthonly"]returns: 30.0770 [date_add year="0" show="yearonly"]-[date_add month="1" show="monthonly"]-[date_add day="1" show="dayonly"]returns: 2014-11-0269 <code>[date_sub day="1" show="dayonly"].[date_sub month="3" show="monthonly"]</code> returns: 30.07 70 <code>[date_add year="0" show="yearonly"]-[date_add month="1" show="monthonly"]-[date_add day="1" show="dayonly"]</code> returns: 2014-11-02 71 71 72 72 == Screenshots == 73 73 screenshot-1.png 74 74 75 75 76 The shortcode documentation 77 78 76 79 77 80 screenshot-2.png 78 81 82 79 83 Put it in posts, pages and also in Contact Form 7-forms 84 85 80 86 81 87 screenshot-3.png 82 88 83 Make your things with it… 89 90 Make your things with it... 84 91 85 92 == Changelog == -
date-calculator/trunk/readme.txt
r986743 r986755 30 30 The following shortcodes are available: 31 31 32 `[date_add day="1" month="1" year="1" show="dayonly/monthonly/yearonly"]` 33 `[date_sub day="1" month="1" year="1" show="dayonly/monthonly/yearonly"]` 32 <code>[date_add day="1" month="1" year="1" show="dayonly/monthonly/yearonly"]</code> 33 <code>[date_sub day="1" month="1" year="1" show="dayonly/monthonly/yearonly"]</code> 34 34 35 35 36 =Examples:= 36 <b>Examples:</b> 37 37 38 38 … … 41 41 42 42 <code>[date_sub day="1"]</code> returns: 30.09.2014 43 [date_sub month="3"]returns: 01.07.201444 [date_sub year="4"]returns: 01.10.201043 <code>[date_sub month="3"]</code> returns: 01.07.2014 44 <code>[date_sub year="4"]</code> returns: 01.10.2010 45 45 46 [date_sub day="1" month="3" year="4"]would display: 30.06.201046 <code>[date_sub day="1" month="3" year="4"]</code> would display: 30.06.2010 47 47 48 48 … … 50 50 Suppose today is the 01.10.2014 51 51 52 [date_add day="1"]returns: 02.10.201453 [date_add month="3"]returns: 01.01.201554 [date_add year="4"]returns: 01.10.201852 <code>[date_add day="1"]</code> returns: 02.10.2014 53 <code>[date_add month="3"]</code> returns: 01.01.2015 54 <code>[date_add year="4"]</code> returns: 01.10.2018 55 55 56 [date_add day="1" month="3" year="4"] would display: 02.01.201856 <code>[date_add day="1" month="3" year="4"]</code> returns: 02.01.2018 57 57 58 58 … … 63 63 64 64 65 [date_add day="1" show="dayonly"]returns: 0266 [date_add month="3" show="monthonly"]returns: 0167 [date_add year="4" show="yearonly"]returns: 201865 <code>[date_add day="1" show="dayonly"]</code> returns: 02 66 <code>[date_add month="3" show="monthonly"]</code> returns: 01 67 <code>[date_add year="4" show="yearonly"]</code> returns: 2018 68 68 69 [date_sub day="1" show="dayonly"].[date_sub month="3" show="monthonly"]returns: 30.0770 [date_add year="0" show="yearonly"]-[date_add month="1" show="monthonly"]-[date_add day="1" show="dayonly"]returns: 2014-11-0269 <code>[date_sub day="1" show="dayonly"].[date_sub month="3" show="monthonly"]</code> returns: 30.07 70 <code>[date_add year="0" show="yearonly"]-[date_add month="1" show="monthonly"]-[date_add day="1" show="dayonly"]</code> returns: 2014-11-02 71 71 72 72 == Screenshots == 73 73 screenshot-1.png 74 74 75 75 76 The shortcode documentation 77 78 76 79 77 80 screenshot-2.png 78 81 82 79 83 Put it in posts, pages and also in Contact Form 7-forms 84 85 80 86 81 87 screenshot-3.png 82 88 83 Make your things with it… 89 90 Make your things with it... 84 91 85 92 == Changelog ==
Note: See TracChangeset
for help on using the changeset viewer.