{"id":23970,"date":"2013-06-27T14:35:58","date_gmt":"2013-06-27T14:35:58","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/date-tool\/"},"modified":"2014-08-10T10:13:39","modified_gmt":"2014-08-10T10:13:39","slug":"date-tool","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/date-tool\/","author":12545812,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"trunk","tested":"3.9.40","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Date Tool","header_author":"Gordon McNevin","header_description":"","assets_banners_color":"","last_updated":"2014-08-10 10:13:39","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.dealshare.co.uk","header_plugin_uri":"","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":70,"downloads":5649,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"3"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[22813,22822,22823,1358,22821],"plugin_category":[],"plugin_contributors":[84892],"plugin_business_model":[],"class_list":["post-23970","plugin","type-plugin","status-publish","hentry","plugin_tags-current-date","plugin_tags-current-day","plugin_tags-current-month","plugin_tags-date","plugin_tags-return-date","plugin_contributors-gordi555","plugin_committers-gordi555"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/date-tool.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This simple plugin makes it possible to insert the current date, time or date &amp; time related information into your website. This is very handy if you are manually updating the date &amp; time information and want to do this automatically in the future.<\/p>\n\n<p>PLEASE Link to my website if you use this plugin, helps to keep my plugins FREE! dealshare.co.uk - Thank you!!!<\/p>\n\n<h3>Arbitrary section 1<\/h3>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>plugin-name.php<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Place <code>&lt;?php do_action('plugin_name_hook'); ?&gt;<\/code> in your templates and use the 'format' argument to display the current date and time information in a number of different ways.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What's the easiest way to get this working after installation?<\/dt>\n<dd><p>Simply insert the following code into your post to display the current year.<\/p>\n\n<p>[datetool_current format=\"Y\"]\nThis displays: 2013<\/p><\/dd>\n<dt>What else can you use in the 'format' argument to display the current date and time information?<\/dt>\n<dd><p>For a complete reference and combinations you can visit this page: http:\/\/php.net\/manual\/en\/function.date.php<\/p>\n\n<p>Some examples...<\/p>\n\n<p>Shortcode: [datetool_current format=\"Y\"]\nOutput: 2013 (or what the current year is)<\/p>\n\n<p>Shortcode: [datetool_current format=\"d\"]\nOutput: 16 (or what number the current day is)<\/p>\n\n<p>Shortcode: [datetool_current format=\"jS F Y\"]\nOutput: 24th June 2013 (or what number the current date is)<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p>2013-06-23 Plugin created.<\/p>","raw_excerpt":"A simple plugin that returns the current date\/time in a variety of different ways.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/23970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=23970"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gordi555"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=23970"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=23970"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=23970"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=23970"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=23970"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=23970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}