{"id":9760,"date":"2024-01-10T18:07:00","date_gmt":"2024-01-10T18:07:00","guid":{"rendered":"https:\/\/codehim.com\/?p=9760"},"modified":"2024-01-22T16:09:38","modified_gmt":"2024-01-22T11:09:38","slug":"bootstrap-datepicker-today-date-selected","status":"publish","type":"post","link":"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/","title":{"rendered":"Bootstrap Datepicker Today Date Selected"},"content":{"rendered":"<p>This code implements Bootstrap Datepicker with the ability to preselect today&#8217;s date. The datepicker is customizable, enabling users to highlight today&#8217;s date, set the date format, and control its appearance.<\/p>\n<p>By integrating this code, you effortlessly enhance your web application&#8217;s user experience with an intuitive and visually appealing date selection feature.<\/p>\n<h2>How to Create Bootstrap Datepicker with Today Date Selected<\/h2>\n<p>1. First of all, load the <a href=\"https:\/\/necolas.github.io\/normalize.css\/\" target=\"_blank\" rel=\"noopener\">Normalize CSS<\/a>, <a href=\"https:\/\/getbootstrap.com\/\" target=\"_blank\" rel=\"noopener\">Bootstrap<\/a>, and <a href=\"https:\/\/jquery.com\" target=\"_blank\" rel=\"noopener\">jQuery<\/a> by adding the following CDN links into the head tag of your HTML document.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/normalize\/5.0.0\/normalize.min.css\"&gt;\r\n&lt;link rel='stylesheet' href='https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/twitter-bootstrap\/3.3.7\/css\/bootstrap.min.css'&gt;\r\n&lt;link rel='stylesheet' href='https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/bootstrap-datepicker\/1.6.4\/css\/bootstrap-datepicker3.min.css'&gt;\r\n&lt;link rel='stylesheet' href='https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/bootstrap-datepicker\/1.6.4\/css\/bootstrap-datepicker.min.css'&gt;\r\n\r\n&lt;script src='https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/jquery\/3.1.0\/jquery.min.js'&gt;&lt;\/script&gt; \r\n&lt;script src='https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/bootstrap-datepicker\/1.6.4\/js\/bootstrap-datepicker.min.js'&gt;&lt;\/script&gt;\r\n&lt;script src='https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/twitter-bootstrap\/3.3.7\/js\/bootstrap.min.js'&gt;&lt;\/script&gt;\r\n<\/pre>\n<p>2. Now, apply the datepicker to your desired HTML elements using their corresponding IDs. In the following code, <code>'optSimple'<\/code> is applied to an element with ID <code>'simple'<\/code>, and <code>'optComponent'<\/code> is applied to an element with ID <code>'datePicker'<\/code>. You can customize these IDs based on your HTML structure.<\/p>\n<pre class=\"prettyprint linenums lang-html\">&lt;div class=\"container\"&gt;\r\n  &lt;div class=\"row\"&gt;\r\n\t\t&lt;div class=\"col-md-12\"&gt;\r\n\t\t\t &lt;form method=\"post\"&gt;\r\n\r\n\t\t\t\t  &lt;!--simple--&gt;\r\n\t\t\t\t  &lt;div id=\"sandbox\" class=\"form-group\"&gt;\r\n\t\t\t\t\t\t&lt;label for=\"simple\"&gt;Date&lt;\/label&gt;\r\n\t\t\t\t\t\t&lt;input id=\"simple\" type=\"text\" class=\"form-control\" value=\"\"&gt;\r\n\t\t\t\t  &lt;\/div&gt;\r\n\r\n\t\t\t\t  &lt;!--component--&gt;\r\n\t\t\t\t  &lt;div class=\"form-group\"&gt;\r\n\t\t\t\t\t\t&lt;div class=\"input-group date\" id=\"datePicker\"&gt;\r\n\t\t\t\t\t\t\t &lt;input type=\"text\" class=\"form-control\" name=\"date\" value=\"\"&gt;\r\n\t\t\t\t\t\t\t &lt;span class=\"input-group-addon\"&gt;\r\n\t\t\t\t\t\t\t\t  &lt;i class=\"glyphicon glyphicon-calendar\"&gt;&lt;\/i&gt;\r\n\t\t\t\t\t\t\t &lt;\/span&gt;\r\n\t\t\t\t\t\t&lt;\/div&gt;\r\n\t\t\t\t  &lt;\/div&gt;\r\n\t\t\t\t  &lt;button type=\"submit\" class=\"btn btn-default\"&gt;Submit&lt;\/button&gt;\r\n\t\t\t &lt;\/form&gt;\r\n\t\t&lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n\r\n&lt;div class=\"container\"&gt;\r\n  &lt;div class=\"row\"&gt;\r\n\t\t&lt;div class=\"col-lg-12\"&gt;\r\n\t\t\t &lt;div class=\"panel\"&gt;\r\n\t\t\t\t  &lt;fieldset&gt;\r\n\t\t\t\t\t\t&lt;div class=\"form-group\" id=\"box1\"&gt;\r\n\t\t\t\t\t\t\t &lt;label for=\"datepicker1\"&gt;Date 1&lt;\/label&gt;\r\n\t\t\t\t\t\t\t &lt;input type=\"text\" class=\"form-control\" id=\"datepicker1\" value=\"\"&gt;\r\n\t\t\t\t\t\t&lt;\/div&gt;\r\n\t\t\t\t  &lt;\/fieldset&gt;\r\n\t\t\t\t  &lt;fieldset&gt;\r\n\t\t\t\t\t\t&lt;div class=\"form-group\" id=\"box2\"&gt;\r\n\t\t\t\t\t\t\t &lt;label for=\"datepicker2\"&gt;Date 2&lt;\/label&gt;\r\n\t\t\t\t\t\t\t &lt;input type=\"text\" class=\"form-control\" id=\"datepicker2\" value=\"\"&gt;\r\n\t\t\t\t\t\t&lt;\/div&gt;\r\n\t\t\t\t  &lt;\/fieldset&gt;\r\n\t\t\t &lt;\/div&gt;\r\n\t\t&lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n<\/pre>\n<p>3. Style\/customize the date picker using CSS. (Optional)<\/p>\n<pre class=\"prettyprint linenums lang-css\">body {\r\n  margin-top: 40px;\r\n}\r\n\r\n.container {\r\n  margin-bottom: 60px;\r\n  border: 1px solid rgba(0, 0, 0, 0.4);\r\n  padding: 40px;\r\n  border-radius: 6px;\r\n}<\/pre>\n<p>4. Finally, copy the following JavaScript code into your script file or within <code>&lt;script&gt;<\/code> tags in your HTML file. This code initializes two datepicker configurations, &#8216;optSimple&#8217; and &#8216;optComponent&#8217;, catering to different UI preferences.<\/p>\n<pre class=\"prettyprint linenums lang-js\">var date = new Date();\r\nvar today = new Date(date.getFullYear(), date.getMonth(), date.getDate());\r\n\r\nvar optSimple = {\r\n  format: 'mm-dd-yyyy',\r\n  todayHighlight: true,\r\n  orientation: 'bottom right',\r\n  autoclose: true,\r\n  container: '#sandbox'\r\n};\r\n\r\nvar optComponent = {\r\n  format: 'mm-dd-yyyy',\r\n  container: '#datePicker',\r\n  orientation: 'auto top',\r\n  todayHighlight: true,\r\n  autoclose: true\r\n};\r\n\r\n\/\/ SIMPLE\r\n$( '#simple' ).datepicker( optSimple );\r\n\r\n\/\/ COMPONENT\r\n$( '#datePicker' ).datepicker( optComponent );\r\n\r\n\/\/ ===================================\r\n\r\n$( '#datepicker1' ).datepicker({\r\n  format: \"mm : dd : yyyy\",\r\n  todayHighlight: true,\r\n  autoclose: true,\r\n  container: '#box1',\r\n  orientation: 'top right'\r\n});\r\n\r\n$( '#datepicker2' ).datepicker({\r\n  format: 'mm \\\\ dd \\\\ yyyy',\r\n  todayHighlight: true,\r\n  autoclose: true,\r\n  container: '#box2',\r\n  orientation: 'top right'\r\n});\r\n\r\n$( '#datepicker1, #datepicker2, #simple, #datePicker' ).datepicker( 'setDate', today );<\/pre>\n<p>Feel free to tweak the date format, container, and orientation according to your project&#8217;s requirements. The code is designed to be easily adaptable, enabling you to enhance the user experience with a feature-rich date selection process.<\/p>\n<p>That&#8217;s all! hopefully, you have successfully created Bootstrap Datepicker with today date selected. If you have any questions or suggestions, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This code implements Bootstrap Datepicker with the ability to preselect today&#8217;s date. The datepicker is customizable, enabling users to highlight&#8230;<\/p>\n","protected":false},"author":1,"featured_media":9782,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[123],"tags":[77],"class_list":["post-9760","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bootstrap","tag-datepicker"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Bootstrap Datepicker Today Date Selected &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a free code snippet to create a Bootstrap Datepicker Today Date Selected. You can view demo and download the source code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Bootstrap Datepicker Today Date Selected &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a free code snippet to create a Bootstrap Datepicker Today Date Selected. You can view demo and download the source code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeHim\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codehimofficial\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-10T18:07:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T11:09:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Bootstrap-Datepicker-Today-Date-Selecteda.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"960\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Asif Mughal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:site\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asif Mughal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"Bootstrap Datepicker Today Date Selected\",\"datePublished\":\"2024-01-10T18:07:00+00:00\",\"dateModified\":\"2024-01-22T11:09:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/\"},\"wordCount\":236,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Bootstrap-Datepicker-Today-Date-Selecteda.png\",\"keywords\":[\"Datepicker\"],\"articleSection\":[\"Bootstrap\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/\",\"url\":\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/\",\"name\":\"Bootstrap Datepicker Today Date Selected &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Bootstrap-Datepicker-Today-Date-Selecteda.png\",\"datePublished\":\"2024-01-10T18:07:00+00:00\",\"dateModified\":\"2024-01-22T11:09:38+00:00\",\"description\":\"Here is a free code snippet to create a Bootstrap Datepicker Today Date Selected. You can view demo and download the source code.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Bootstrap-Datepicker-Today-Date-Selecteda.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Bootstrap-Datepicker-Today-Date-Selecteda.png\",\"width\":1280,\"height\":960,\"caption\":\"Bootstrap Datepicker Today Date Selected\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Bootstrap\",\"item\":\"https:\/\/codehim.com\/category\/bootstrap\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Bootstrap Datepicker Today Date Selected\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codehim.com\/#website\",\"url\":\"https:\/\/codehim.com\/\",\"name\":\"CodeHim\",\"description\":\"Web Design Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"alternateName\":\"Web Design Codes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codehim.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codehim.com\/#organization\",\"name\":\"CodeHim - Web Design Code & Scripts\",\"url\":\"https:\/\/codehim.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"contentUrl\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"width\":280,\"height\":280,\"caption\":\"CodeHim - Web Design Code & Scripts\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/codehimofficial\",\"https:\/\/x.com\/CodeHimOfficial\",\"https:\/\/www.instagram.com\/codehim\/\",\"https:\/\/www.linkedin.com\/company\/codehim\",\"https:\/\/co.pinterest.com\/codehim\/\",\"https:\/\/www.youtube.com\/@codehim\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\",\"name\":\"Asif Mughal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"caption\":\"Asif Mughal\"},\"description\":\"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.\",\"sameAs\":[\"https:\/\/codehim.com\"],\"url\":\"https:\/\/codehim.com\/author\/asif-mughal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Bootstrap Datepicker Today Date Selected &#8212; CodeHim","description":"Here is a free code snippet to create a Bootstrap Datepicker Today Date Selected. You can view demo and download the source code.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/","og_locale":"en_US","og_type":"article","og_title":"Bootstrap Datepicker Today Date Selected &#8212; CodeHim","og_description":"Here is a free code snippet to create a Bootstrap Datepicker Today Date Selected. You can view demo and download the source code.","og_url":"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-10T18:07:00+00:00","article_modified_time":"2024-01-22T11:09:38+00:00","og_image":[{"width":1280,"height":960,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Bootstrap-Datepicker-Today-Date-Selecteda.png","type":"image\/png"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"Bootstrap Datepicker Today Date Selected","datePublished":"2024-01-10T18:07:00+00:00","dateModified":"2024-01-22T11:09:38+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/"},"wordCount":236,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Bootstrap-Datepicker-Today-Date-Selecteda.png","keywords":["Datepicker"],"articleSection":["Bootstrap"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/","url":"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/","name":"Bootstrap Datepicker Today Date Selected &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Bootstrap-Datepicker-Today-Date-Selecteda.png","datePublished":"2024-01-10T18:07:00+00:00","dateModified":"2024-01-22T11:09:38+00:00","description":"Here is a free code snippet to create a Bootstrap Datepicker Today Date Selected. You can view demo and download the source code.","breadcrumb":{"@id":"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Bootstrap-Datepicker-Today-Date-Selecteda.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2023\/11\/Bootstrap-Datepicker-Today-Date-Selecteda.png","width":1280,"height":960,"caption":"Bootstrap Datepicker Today Date Selected"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/bootstrap\/bootstrap-datepicker-today-date-selected\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Bootstrap","item":"https:\/\/codehim.com\/category\/bootstrap\/"},{"@type":"ListItem","position":3,"name":"Bootstrap Datepicker Today Date Selected"}]},{"@type":"WebSite","@id":"https:\/\/codehim.com\/#website","url":"https:\/\/codehim.com\/","name":"CodeHim","description":"Web Design Code Snippets","publisher":{"@id":"https:\/\/codehim.com\/#organization"},"alternateName":"Web Design Codes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codehim.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codehim.com\/#organization","name":"CodeHim - Web Design Code & Scripts","url":"https:\/\/codehim.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/","url":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","contentUrl":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","width":280,"height":280,"caption":"CodeHim - Web Design Code & Scripts"},"image":{"@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codehimofficial","https:\/\/x.com\/CodeHimOfficial","https:\/\/www.instagram.com\/codehim\/","https:\/\/www.linkedin.com\/company\/codehim","https:\/\/co.pinterest.com\/codehim\/","https:\/\/www.youtube.com\/@codehim"]},{"@type":"Person","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed","name":"Asif Mughal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","caption":"Asif Mughal"},"description":"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.","sameAs":["https:\/\/codehim.com"],"url":"https:\/\/codehim.com\/author\/asif-mughal\/"}]}},"views":1570,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/comments?post=9760"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/9760\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/9782"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=9760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=9760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=9760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}