{"id":27928,"date":"2021-05-17T13:05:34","date_gmt":"2021-05-17T13:05:34","guid":{"rendered":"https:\/\/www.inogic.com\/blog\/?p=27928"},"modified":"2021-09-01T10:45:18","modified_gmt":"2021-09-01T10:45:18","slug":"how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app","status":"publish","type":"post","link":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/","title":{"rendered":"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p style=\"text-align: justify;\">As we know in the latest release Microsoft has introduced many new features in the Client API. There are number of client APIs provided by Microsoft that help developers work seamlessly with Dynamics 365 CRM. In this blog, we will explore one of the Client API to Show or Hide the Time part of the Date Time control.<\/p>\n<p><strong>Scenario:<\/strong><\/p>\n<p style=\"text-align: justify;\">Suppose, there is a datetime type of field\/column and two different forms. Now, the user wants to show Date and Time on FORM1, and on FORM 2, the user only wants to show Date. So in this case, we can use the Client API to show\/hide the time part of the DateTime field by using <strong>getShowTime<\/strong> and <strong>setShowTime<\/strong> functions.<\/p>\n<p style=\"text-align: justify;\">We have created a new datetime field named as \u2018Date Shipped\u2019 which will display the date and time on the form as shown below. Now, let\u2019s explore both (<strong>setShowTime, getShowTime<\/strong> ) functions here.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/1-Show-or-Hide-Time-Part-of-Date-Time-Column-using-client-Api-1.jpeg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-27929\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/1-Show-or-Hide-Time-Part-of-Date-Time-Column-using-client-Api-1.jpeg\" alt=\"Show or Hide Time Part of Date Time Column using client Api\" width=\"755\" height=\"376\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/1-Show-or-Hide-Time-Part-of-Date-Time-Column-using-client-Api-1.jpeg 755w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/1-Show-or-Hide-Time-Part-of-Date-Time-Column-using-client-Api-1-300x149.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/1-Show-or-Hide-Time-Part-of-Date-Time-Column-using-client-Api-1-660x329.jpeg 660w\" sizes=\"(max-width: 755px) 100vw, 755px\" \/><\/a><\/p>\n<p><strong>1. setShowTime():<\/strong><\/p>\n<p style=\"text-align: justify;\">This function will help to show\/hide the time part of the DateTime field in the FORM. Basically, you need to pass false in function parameter to hide the time.<\/p>\n<p style=\"text-align: justify;\"><strong>Example:<\/strong> formContext.getControl(\u201cnew_dateshipped\u201d).setShowTime(false);<\/p>\n<p style=\"text-align: justify;\">As you can see in the below screen shot, the time part is hidden.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/2-Show-or-Hide-the-Time-Part-of-Date-Time-Column-using-client-Api-1.jpeg\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-27930\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/2-Show-or-Hide-the-Time-Part-of-Date-Time-Column-using-client-Api-1.jpeg\" alt=\"Show or Hide Time Part of Date Time Column using client Api\" width=\"754\" height=\"358\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/2-Show-or-Hide-the-Time-Part-of-Date-Time-Column-using-client-Api-1.jpeg 754w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/2-Show-or-Hide-the-Time-Part-of-Date-Time-Column-using-client-Api-1-300x142.jpeg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/2-Show-or-Hide-the-Time-Part-of-Date-Time-Column-using-client-Api-1-660x313.jpeg 660w\" sizes=\"(max-width: 754px) 100vw, 754px\" \/><\/a><\/p>\n<p><strong>2. getShowTime() :<\/strong><\/p>\n<p style=\"text-align: justify;\">It checks whether the date control shows the time portion of the datetime column or not. It returns true if it shows the time portion of the date and false if not shown. So, basically, it will help to identify whether the datetime field is showing time or not.<\/p>\n<p><strong>Example:<\/strong> formContext.getControl(\u201cnew_dateshipped\u201d).getShowTime();<\/p>\n<p><strong>Note:<\/strong> This method does not work when the DateOnly format is used.<\/p>\n<h2>Conclusion<\/h2>\n<p style=\"text-align: justify;\">With this method, you can show or hide the time component of a date control where the attribute uses the <strong>DateAndTime<\/strong> format.<\/p>\n<p><a href=\"https:\/\/www.inogic.com\/product\/integrations\/inolink-quickbooks-microsoft-dynamics-crm\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"aligncenter wp-image-27931 size-full\" src=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/inolink.jpg\" alt=\"\" width=\"800\" height=\"200\" srcset=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/inolink.jpg 800w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/inolink-300x75.jpg 300w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/inolink-768x192.jpg 768w, https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/inolink-660x165.jpg 660w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction As we know in the latest release Microsoft has introduced many new features in the Client API. There are number of client APIs provided by Microsoft that help developers work seamlessly with Dynamics 365 CRM. In this blog, we will explore one of the Client API to Show or Hide the Time part of\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/\">Read More: How to Show or Hide the Time Part of DateTime\u2026 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[1979,1194],"class_list":["post-27928","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-client-api","tag-model-driven-app"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Know how to Show or Hide the Time Part of DateTime Column using client API in Model-driven app\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Inogic\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta property=\"og:description\" content=\"Know how to Show or Hide the Time Part of DateTime Column using client API in Model-driven app\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/1-Show-or-Hide-Time-Part-of-Date-Time-Column-using-client-Api-1.jpeg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/1-Show-or-Hide-Time-Part-of-Date-Time-Column-using-client-Api-1.jpeg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"755\" \/>\n\t\t<meta property=\"og:image:height\" content=\"376\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2021-05-17T13:05:34+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-09-01T10:45:18+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inogicindia\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app - Microsoft Dynamics 365 CRM Tips and Tricks\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Know how to Show or Hide the Time Part of DateTime Column using client API in Model-driven app\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@inogic\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/1-Show-or-Hide-Time-Part-of-Date-Time-Column-using-client-Api-1.jpeg\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Inogic\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2021\\\/05\\\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\\\/#blogposting\",\"name\":\"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app - Microsoft Dynamics 365 CRM Tips and Tricks\",\"headline\":\"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app\",\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/05\\\/1-Show-or-Hide-Time-Part-of-Date-Time-Column-using-client-Api-1.jpeg\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2021\\\/05\\\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\\\/#articleImage\",\"width\":755,\"height\":376,\"caption\":\"Show or Hide Time Part of Date Time Column using client Api\"},\"datePublished\":\"2021-05-17T13:05:34+05:30\",\"dateModified\":\"2021-09-01T10:45:18+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2021\\\/05\\\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2021\\\/05\\\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\\\/#webpage\"},\"articleSection\":\"Uncategorized, Client API, Model Driven App\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2021\\\/05\\\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/uncategorized\\\/#listItem\",\"name\":\"Uncategorized\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/uncategorized\\\/#listItem\",\"position\":2,\"name\":\"Uncategorized\",\"item\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/uncategorized\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2021\\\/05\\\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\\\/#listItem\",\"name\":\"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2021\\\/05\\\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\\\/#listItem\",\"position\":3,\"name\":\"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/category\\\/uncategorized\\\/#listItem\",\"name\":\"Uncategorized\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"By Inogic\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/02\\\/inogic-logo.png\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2021\\\/05\\\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\\\/#organizationLogo\",\"width\":1000,\"height\":325,\"caption\":\"inogic logo\"},\"image\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2021\\\/05\\\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/inogicindia\",\"https:\\\/\\\/twitter.com\\\/inogic\",\"https:\\\/\\\/www.instagram.com\\\/inogicindia\\\/\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCM4V7ousgLSu1hbOEv4DUuQ\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/inogicindia\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/\",\"name\":\"Inogic\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2021\\\/05\\\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Inogic\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2021\\\/05\\\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\\\/#webpage\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2021\\\/05\\\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\\\/\",\"name\":\"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app - Microsoft Dynamics 365 CRM Tips and Tricks\",\"description\":\"Know how to Show or Hide the Time Part of DateTime Column using client API in Model-driven app\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/2021\\\/05\\\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/author\\\/inogic-2\\\/#author\"},\"datePublished\":\"2021-05-17T13:05:34+05:30\",\"dateModified\":\"2021-09-01T10:45:18+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/\",\"name\":\"Microsoft Dynamics 365 CRM Tips and Tricks\",\"alternateName\":\"Inogic\",\"description\":\"By Inogic\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.inogic.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Know how to Show or Hide the Time Part of DateTime Column using client API in Model-driven app","canonical_url":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/#blogposting","name":"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app - Microsoft Dynamics 365 CRM Tips and Tricks","headline":"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app","author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/1-Show-or-Hide-Time-Part-of-Date-Time-Column-using-client-Api-1.jpeg","@id":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/#articleImage","width":755,"height":376,"caption":"Show or Hide Time Part of Date Time Column using client Api"},"datePublished":"2021-05-17T13:05:34+05:30","dateModified":"2021-09-01T10:45:18+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/#webpage"},"isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/#webpage"},"articleSection":"Uncategorized, Client API, Model Driven App"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.inogic.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/uncategorized\/#listItem","name":"Uncategorized"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/uncategorized\/#listItem","position":2,"name":"Uncategorized","item":"https:\/\/www.inogic.com\/blog\/category\/uncategorized\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/#listItem","name":"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/#listItem","position":3,"name":"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app","previousItem":{"@type":"ListItem","@id":"https:\/\/www.inogic.com\/blog\/category\/uncategorized\/#listItem","name":"Uncategorized"}}]},{"@type":"Organization","@id":"https:\/\/www.inogic.com\/blog\/#organization","name":"Microsoft Dynamics 365 CRM Tips and Tricks","description":"By Inogic","url":"https:\/\/www.inogic.com\/blog\/","logo":{"@type":"ImageObject","url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2023\/02\/inogic-logo.png","@id":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/#organizationLogo","width":1000,"height":325,"caption":"inogic logo"},"image":{"@id":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/#organizationLogo"},"sameAs":["https:\/\/www.facebook.com\/inogicindia","https:\/\/twitter.com\/inogic","https:\/\/www.instagram.com\/inogicindia\/","https:\/\/www.youtube.com\/channel\/UCM4V7ousgLSu1hbOEv4DUuQ","https:\/\/www.linkedin.com\/company\/inogicindia"]},{"@type":"Person","@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author","url":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/","name":"Inogic","image":{"@type":"ImageObject","@id":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/839d9ae7d2b941d2d09e91df322267a429821f2ce5494302b53bd5ca3679f1a0?s=96&d=mm&r=g","width":96,"height":96,"caption":"Inogic"}},{"@type":"WebPage","@id":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/#webpage","url":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/","name":"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app - Microsoft Dynamics 365 CRM Tips and Tricks","description":"Know how to Show or Hide the Time Part of DateTime Column using client API in Model-driven app","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.inogic.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/#breadcrumblist"},"author":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"creator":{"@id":"https:\/\/www.inogic.com\/blog\/author\/inogic-2\/#author"},"datePublished":"2021-05-17T13:05:34+05:30","dateModified":"2021-09-01T10:45:18+05:30"},{"@type":"WebSite","@id":"https:\/\/www.inogic.com\/blog\/#website","url":"https:\/\/www.inogic.com\/blog\/","name":"Microsoft Dynamics 365 CRM Tips and Tricks","alternateName":"Inogic","description":"By Inogic","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.inogic.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Microsoft Dynamics 365 CRM Tips and Tricks - By Inogic","og:type":"article","og:title":"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app - Microsoft Dynamics 365 CRM Tips and Tricks","og:description":"Know how to Show or Hide the Time Part of DateTime Column using client API in Model-driven app","og:url":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/","og:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/1-Show-or-Hide-Time-Part-of-Date-Time-Column-using-client-Api-1.jpeg","og:image:secure_url":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/1-Show-or-Hide-Time-Part-of-Date-Time-Column-using-client-Api-1.jpeg","og:image:width":755,"og:image:height":376,"article:published_time":"2021-05-17T13:05:34+00:00","article:modified_time":"2021-09-01T10:45:18+00:00","article:publisher":"https:\/\/www.facebook.com\/inogicindia","twitter:card":"summary_large_image","twitter:site":"@inogic","twitter:title":"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app - Microsoft Dynamics 365 CRM Tips and Tricks","twitter:description":"Know how to Show or Hide the Time Part of DateTime Column using client API in Model-driven app","twitter:creator":"@inogic","twitter:image":"https:\/\/www.inogic.com\/blog\/wp-content\/uploads\/2021\/05\/1-Show-or-Hide-Time-Part-of-Date-Time-Column-using-client-Api-1.jpeg","twitter:label1":"Written by","twitter:data1":"Inogic","twitter:label2":"Est. reading time","twitter:data2":"1 minute"},"aioseo_meta_data":{"post_id":"27928","title":"","description":"Know how to Show or Hide the Time Part of DateTime Column using client API in Model-driven app","keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-02-02 07:46:56","updated":"2025-07-04 08:32:05","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.inogic.com\/blog\/category\/uncategorized\/\" title=\"Uncategorized\">Uncategorized<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to Show or Hide the Time Part of DateTime Column using client API in Model-driven app\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.inogic.com\/blog"},{"label":"Uncategorized","link":"https:\/\/www.inogic.com\/blog\/category\/uncategorized\/"},{"label":"How to Show or Hide the Time Part of DateTime Column using client API in Model-driven app","link":"https:\/\/www.inogic.com\/blog\/2021\/05\/how-to-show-or-hide-the-time-part-of-datetime-column-using-client-api-in-model-driven-app\/"}],"_links":{"self":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/27928","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/comments?post=27928"}],"version-history":[{"count":0,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/posts\/27928\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/media?parent=27928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/categories?post=27928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inogic.com\/blog\/wp-json\/wp\/v2\/tags?post=27928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}