Changeset 986788
- Timestamp:
- 09/10/2014 08:38:47 PM (12 years ago)
- Location:
- date-calculator
- Files:
-
- 3 added
- 2 edited
-
assets/screenshot-1.jpg (added)
-
assets/screenshot-2.jpg (added)
-
assets/screenshot-3.jpg (added)
-
tags/1.0/readme.txt (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
date-calculator/tags/1.0/readme.txt
r986779 r986788 33 33 34 34 The following shortcodes are available: 35 ´[date_add day="1" month="1" year="1" show="dayonly/monthonly/yearonly"]´ 36 ´[date_sub day="1" month="1" year="1" show="dayonly/monthonly/yearonly"]´ 35 <code>date_add day="1" month="1" year="1" show="dayonly/monthonly/yearonly"</code> 36 <code>date_sub day="1" month="1" year="1" show="dayonly/monthonly/yearonly"</code> 37 37 38 Examples: 38 = You need more examples? = 39 39 40 40 = Calculating the date down: = 41 41 Suppose today is the 01.10.2014 42 42 43 ´[date_sub day="1"]´returns: 30.09.201444 ´[date_sub month="3"]´returns: 01.07.201445 ´[date_sub year="4"]´returns: 01.10.201046 ´[date_sub day="1" month="3" year="4"]´returns: 30.06.201043 <code>date_sub day="1"</code> returns: 30.09.2014 44 <code>date_sub month="3"</code> returns: 01.07.2014 45 <code>date_sub year="4"</code> returns: 01.10.2010 46 <code>date_sub day="1" month="3" year="4"</code> returns: 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.201855 ´[date_add day="1" month="3" year="4"]´returns: 02.01.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 <code>date_add day="1" month="3" year="4"</code> returns: 02.01.2018 56 56 57 57 … … 62 62 Suppose today is the 01.10.2014 63 63 64 ´[date_add day="1" show="dayonly"]´returns: 0265 ´[date_add month="3" show="monthonly"]´returns: 0166 ´[date_add year="4" show="yearonly"]´returns: 201867 ´[date_sub day="1" show="dayonly"].[date_sub month="3" show="monthonly"]´returns: 30.0768 ´[date_add year="0" show="yearonly"]-[date_add month="1" show="monthonly"]-[date_add day="1" show="dayonly"]´returns: 2014-11-0264 <code>date_add day="1" show="dayonly"</code> returns: 02 65 <code>date_add month="3" show="monthonly"</code> returns: 01 66 <code>date_add year="4" show="yearonly"</code> returns: 2018 67 <code>date_sub day="1" show="dayonly"].[date_sub month="3" show="monthonly"</code> returns: 30.07 68 <code>date_add year="0" show="yearonly"]-[date_add month="1" show="monthonly"]-[date_add day="1" show="dayonly"</code> returns: 2014-11-02 69 69 70 70 == Screenshots == 71 71 72 72 The shortcode documentation 73 (/assets/screenshot-1.png) 73 74 /assets/screenshot-1.jpg 74 75 75 76 Put it in posts, pages and also in Contact Form 7-forms 76 [/assets/screenshot-2.png] 77 78 /assets/screenshot-2.jpg 77 79 78 80 Make your things... 79 /assets/screenshot-3.png 81 82 /assets/screenshot-1.jpg 80 83 81 84 -
date-calculator/trunk/readme.txt
r986779 r986788 33 33 34 34 The following shortcodes are available: 35 ´[date_add day="1" month="1" year="1" show="dayonly/monthonly/yearonly"]´ 36 ´[date_sub day="1" month="1" year="1" show="dayonly/monthonly/yearonly"]´ 35 <code>date_add day="1" month="1" year="1" show="dayonly/monthonly/yearonly"</code> 36 <code>date_sub day="1" month="1" year="1" show="dayonly/monthonly/yearonly"</code> 37 37 38 Examples: 38 = You need more examples? = 39 39 40 40 = Calculating the date down: = 41 41 Suppose today is the 01.10.2014 42 42 43 ´[date_sub day="1"]´returns: 30.09.201444 ´[date_sub month="3"]´returns: 01.07.201445 ´[date_sub year="4"]´returns: 01.10.201046 ´[date_sub day="1" month="3" year="4"]´returns: 30.06.201043 <code>date_sub day="1"</code> returns: 30.09.2014 44 <code>date_sub month="3"</code> returns: 01.07.2014 45 <code>date_sub year="4"</code> returns: 01.10.2010 46 <code>date_sub day="1" month="3" year="4"</code> returns: 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.201855 ´[date_add day="1" month="3" year="4"]´returns: 02.01.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 <code>date_add day="1" month="3" year="4"</code> returns: 02.01.2018 56 56 57 57 … … 62 62 Suppose today is the 01.10.2014 63 63 64 ´[date_add day="1" show="dayonly"]´returns: 0265 ´[date_add month="3" show="monthonly"]´returns: 0166 ´[date_add year="4" show="yearonly"]´returns: 201867 ´[date_sub day="1" show="dayonly"].[date_sub month="3" show="monthonly"]´returns: 30.0768 ´[date_add year="0" show="yearonly"]-[date_add month="1" show="monthonly"]-[date_add day="1" show="dayonly"]´returns: 2014-11-0264 <code>date_add day="1" show="dayonly"</code> returns: 02 65 <code>date_add month="3" show="monthonly"</code> returns: 01 66 <code>date_add year="4" show="yearonly"</code> returns: 2018 67 <code>date_sub day="1" show="dayonly"].[date_sub month="3" show="monthonly"</code> returns: 30.07 68 <code>date_add year="0" show="yearonly"]-[date_add month="1" show="monthonly"]-[date_add day="1" show="dayonly"</code> returns: 2014-11-02 69 69 70 70 == Screenshots == 71 71 72 72 The shortcode documentation 73 (/assets/screenshot-1.png) 73 74 /assets/screenshot-1.jpg 74 75 75 76 Put it in posts, pages and also in Contact Form 7-forms 76 [/assets/screenshot-2.png] 77 78 /assets/screenshot-2.jpg 77 79 78 80 Make your things... 79 /assets/screenshot-3.png 81 82 /assets/screenshot-1.jpg 80 83 81 84
Note: See TracChangeset
for help on using the changeset viewer.