{"id":31597,"date":"2014-09-10T18:48:11","date_gmt":"2014-09-10T18:48:11","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/date-calculator\/"},"modified":"2018-02-20T08:43:49","modified_gmt":"2018-02-20T08:43:49","slug":"date-calculator","status":"publish","type":"plugin","link":"https:\/\/lmo.wordpress.org\/plugins\/date-calculator\/","author":12267095,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.0","stable_tag":"1.2.0","tested":"5.0.25","requires":"3.6","requires_php":"","requires_plugins":"","header_name":"Date Calculator","header_author":"Matthias.S","header_description":"","assets_banners_color":"82694c","last_updated":"2018-02-20 08:43:49","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=K73Z3MNV82UTQ","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/date-calculator\/","header_author_uri":"https:\/\/profiles.wordpress.org\/matthiass","rating":4.4,"author_block_rating":0,"active_installs":200,"downloads":5872,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.2.0 =Update: February 19, 2018":"<ul>\n<li>Ready for WP 5.0.<\/li>\n<\/ul>","1.1.0 =Update: August 02, 2016":"<ul>\n<li>New feature to set your own date-format.<\/li>\n<li>New feature to set a special date like &#039;next monday&#039; or &#039;second friday of next month&#039;.<\/li>\n<\/ul>","1.0.2 =Update: July 30, 2016":"<ul>\n<li>Ready for WP 4.6<\/li>\n<\/ul>","1.0.1 =Update: September 20, 2014":"<ul>\n<li>Prevent Direct Access of PlugIn-File.<\/li>\n<\/ul>","1.0.0":"<p>Release Date: September 9, 2014<\/p>\n\n<ul>\n<li>First Release.<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":"1","4":"1","5":"3"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"987422","resolution":"128x128","location":"assets"},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"987422","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"987422","resolution":"1544x500","location":"assets"},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"987425","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","1.2.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"986788","resolution":"1","location":"assets"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"986788","resolution":"2","location":"assets"},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"986788","resolution":"3","location":"assets"}},"screenshots":{"1":"<p>The shortcode documentation<\/p>","2":"<p>Use the shortcodes on posts, pages, widgets and in CF7-Forms<\/p>","3":"<p>Make your thing<\/p>"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5806,1358,22805,22804,22806],"plugin_category":[43],"plugin_contributors":[83764],"plugin_business_model":[],"class_list":["post-31597","plugin","type-plugin","status-publish","hentry","plugin_tags-calculate","plugin_tags-date","plugin_tags-date-down","plugin_tags-date-up","plugin_tags-tomorrow","plugin_category-customization","plugin_contributors-matthiass","plugin_committers-matthiass"],"banners":{"banner":"https:\/\/ps.w.org\/date-calculator\/assets\/banner-772x250.jpg?rev=987425","banner_2x":"https:\/\/ps.w.org\/date-calculator\/assets\/banner-1544x500.jpg?rev=987422","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/date-calculator\/assets\/icon-128x128.jpg?rev=987422","icon_2x":"https:\/\/ps.w.org\/date-calculator\/assets\/icon-256x256.jpg?rev=987422","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/date-calculator\/assets\/screenshot-1.jpg?rev=986788","caption":"<p>The shortcode documentation<\/p>"},{"src":"https:\/\/ps.w.org\/date-calculator\/assets\/screenshot-2.jpg?rev=986788","caption":"<p>Use the shortcodes on posts, pages, widgets and in CF7-Forms<\/p>"},{"src":"https:\/\/ps.w.org\/date-calculator\/assets\/screenshot-3.jpg?rev=986788","caption":"<p>Make your thing<\/p>"}],"raw_content":"<!--section=description-->\n<p>The Date Calculator plugin has NOW three basic functions.<\/p>\n\n<ul>\n<li><ol>\n<li>It returns the current date via the shortcode [date_now] in posts, pages and also in Contact Form 7-forms.<\/li>\n<\/ol><\/li>\n<li><ol>\n<li>It can calculate a date up [date_add] or down [date_sub] and returns it in posts, pages and also in Contact Form 7 forms.<\/li>\n<\/ol><\/li>\n<li><ol>\n<li>It can say a special date [date_say] like <code>last monday<\/code> or <code>second friday of next month<\/code> and returns it in posts, pages and also in Contact Form 7 forms.<\/li>\n<\/ol><\/li>\n<\/ul>\n\n<p>NEW IN VERSION 1.2.0: Now it is also possible to determine the date format!!!<\/p>\n\n<p>This plugin enable the shortcode-support within Contact Form 7-forms so that the Date Calculator-shortcodes can also be used there.<\/p>\n\n<!--section=installation-->\n<ol>\n<li><p>Upload the unziped date_calculator folder to the \/wp-content\/plugins\/ directory -or- install the plugin via WordPress build-in Plugin-Installation-Function.<\/p><\/li>\n<li><p>Activate the plugin through the 'Plugins' menu in WordPress.<\/p><\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li><p>Upload the unziped date_calculator folder to the \/wp-content\/plugins\/ directory -or- install the plugin via WordPress build-in Plugin-Installation-Function.<\/p><\/li>\n<li><p>Activate the plugin through the 'Plugins' menu in WordPress.<\/p><\/li>\n<\/ol><\/dd>\n<dt>How are the shortcodes?<\/dt>\n<dd><p>The following shortcodes are available:\n    [date_add day=\"1\" month=\"1\" year=\"1\" show=\"dayonly\/monthonly\/yearonly\" format=\"d.m.Y\"]\n    [date_sub day=\"1\" month=\"1\" year=\"1\" show=\"dayonly\/monthonly\/yearonly\" format=\"m\/d\/Y\"]<\/p><\/dd>\n<dt>You need more examples?<\/dt>\n<dd><\/dd>\n<dt>Calculating the date down:<\/dt>\n<dd><p>Suppose today is the 01.10.2014<\/p>\n\n<pre><code>[date_sub day=\"1\"] returns: 30.09.2014\n[date_sub month=\"3\"] returns: 01.07.2014\n[date_sub year=\"4\"] returns: 01.10.2010\n[date_sub day=\"1\" month=\"3\" year=\"4\"] returns: 30.06.2010\n<\/code><\/pre><\/dd>\n<dt>Calculating the date up:<\/dt>\n<dd><p>Suppose today is the 01.10.2014<\/p>\n\n<pre><code>[date_add day=\"1\"] returns: 02.10.2014\n[date_add month=\"3\"] returns: 01.01.2015\n[date_add year=\"4\"] returns: 01.10.2018\n[date_add day=\"1\" month=\"3\" year=\"4\"] returns: 02.01.2018\n<\/code><\/pre><\/dd>\n<dt>Displaying of certain date parts:<\/dt>\n<dd><p>It is also possible to only impersonate one part of the date, for example, only the day\nThis is specified with the \"show-parameter\".\nSuppose today is the 01.10.2014<\/p>\n\n<pre><code>[date_add day=\"1\" show=\"dayonly\"] returns: 02\n[date_add month=\"3\" show=\"monthonly\"] returns: 01\n[date_add year=\"4\" show=\"yearonly\"] returns: 2018\n[date_sub day=\"1\" show=\"dayonly\"].[date_sub month=\"3\" show=\"monthonly\"] returns: 30.07\n[date_add year=\"0\" show=\"yearonly\"]-[date_add month=\"1\" show=\"monthonly\"]-[date_add day=\"1\" show=\"dayonly\"] returns: 2014-11-02\n<\/code><\/pre><\/dd>\n<dt>Returning a special date in your own format:<\/dt>\n<dd><p>It is also possible to impersonate a special date, in your desired format. This is specified with the format-parameter.\nSuppose today is the 01.10.2016<\/p>\n\n<p>[date_say what=\"next monday\" format=\"m\/d\/Y\"] returns: 10\/03\/2016\n[date_say what=\"next monday\" format=\"j. F Y\"] returns: 3. October 2016<\/p>\n\n<p>For more details please look in to the documentation within the plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.0<\/h4>\n\n<p>Update: February 19, 2018<\/p>\n\n<ul>\n<li>Ready for WP 5.0.<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<p>Update: August 02, 2016<\/p>\n\n<ul>\n<li>New feature to set your own date-format.<\/li>\n<li>New feature to set a special date like 'next monday' or 'second friday of next month'.<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<p>Update: July 30, 2016<\/p>\n\n<ul>\n<li>Ready for WP 4.6.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<p>Update: September 20, 2014<\/p>\n\n<ul>\n<li>Prevent Direct Access of PlugIn-File.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<p>Release Date: September 9, 2014<\/p>\n\n<ul>\n<li>First Release.<\/li>\n<\/ul>","raw_excerpt":"Date Calculator returns the current date via shortcode and it can calculate it into an other and returns it in posts, pages and also in CF7-forms.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/31597","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=31597"}],"author":[{"embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/matthiass"}],"wp:attachment":[{"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=31597"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=31597"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=31597"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=31597"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=31597"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lmo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=31597"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}