{"id":13127,"date":"2017-12-20T12:48:06","date_gmt":"2017-12-20T04:48:06","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=13127"},"modified":"2024-10-09T12:54:39","modified_gmt":"2024-10-09T04:54:39","slug":"time-menu","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/time-menu\/","title":{"rendered":"Date\/Time Range Picker"},"content":{"rendered":"\n<p class=\"left-bar\">This article applies to versions 4.4 and later of IFS OI Explorer. For more, see <a href=\"#Release_History\">Release History<\/a>.<\/p>\n<p class=\"overview\">The Date\/Time Range Picker component allows a user to select two date\/times, or a duration (such as 1 month) with an end date\/time or \"Now\".\u00a0<\/p>\n<p class=\"intro-text\">In version 4.13, the available duration time periods that can be selected have been expanded to include 3, 4, 5, 10 and 20 years.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2023\/07\/Snag_2ef5e009.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-62349\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2023\/07\/Snag_2ef5e009-600x297.png\" alt=\"\" width=\"730\" height=\"361\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2023\/07\/Snag_2ef5e009-600x297.png 600w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2023\/07\/Snag_2ef5e009-768x380.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2023\/07\/Snag_2ef5e009-150x74.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2023\/07\/Snag_2ef5e009-48x24.png 48w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2023\/07\/Snag_2ef5e009.png 927w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><\/a><\/p>\n<p class=\"intro-text\">These date\/times are preconfigured to set the Page Default <em>startTime<\/em> and <em>endTime<\/em> variables, which in turn can be used for retrieving data such as trends or charts.<\/p>\n<p class=\"intro-text\">The Date\/Time Range Picker provides two date\/time pickers, and lets the user select two different date\/times. These are usually used to provide a start time and end time for other controls on the page, such as a chart or trend.<\/p>\n<p class=\"intro-text\">The user can select the start time to be a specific date or time, or they can specify a range that precedes the end time (e.g. 12 hours from the end time). Either selection sets a Datetime variable.<\/p>\n<p class=\"intro-text\">The user can specify the end time as a specific date and time, or select the current date and time (i.e. \"Now\"). Either selection sets a Datetime variable.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/intro-pic-1.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13742 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/intro-pic-1.png\" alt=\"\" width=\"551\" height=\"298\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/intro-pic-1.png 551w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/intro-pic-1-150x81.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/intro-pic-1-24x13.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/intro-pic-1-36x19.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/intro-pic-1-48x26.png 48w\" sizes=\"auto, (max-width: 551px) 100vw, 551px\" \/><\/a><\/p>\n<p class=\"left-bar-p2blue\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/using-the-page-controls\/using-time-pickers\/#DateTime_Range_Picker\">Using the Date\/Time Range Picker<\/a> in display mode, Adding a <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-admin\/explorer-styles\/styling-time-pickers\/\">Date\/Time Range Picker style<\/a>,\u00a0<a title=\"Variables\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-primers\/variables\/\">Variables<\/a>,\u00a0<a title=\"Default Values\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/default-value\/\">Default Values<\/a><\/p>\n<hr \/>\n<h2 class=\"page-subheading\">The Date\/Time Range Picker Component<\/h2>\n<p class=\"intro-text\">In run-mode, the Date\/Time Range Picker displays a time range on the page, with <strong>From<\/strong> above <strong>To<\/strong>.<\/p>\n<p class=\"intro-text\">If <strong>From<\/strong> can be displayed as a duration from the list of durations (such as 5 days, 1 week, 1 month, etc.) then it is displayed that way.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Date-Time-range-picker-2.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13747 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Date-Time-range-picker-2.png\" alt=\"\" width=\"637\" height=\"219\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Date-Time-range-picker-2.png 637w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Date-Time-range-picker-2-150x52.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Date-Time-range-picker-2-24x8.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Date-Time-range-picker-2-36x12.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Date-Time-range-picker-2-48x17.png 48w\" sizes=\"auto, (max-width: 637px) 100vw, 637px\" \/><\/a><\/p>\n<p class=\"intro-text\">Otherwise, it is displayed as a date\/time (for example if there is a 4 day duration - which is not in the list).<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Date-Time-range-picker.png\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13748 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Date-Time-range-picker.png\" alt=\"\" width=\"643\" height=\"225\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Date-Time-range-picker.png 643w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Date-Time-range-picker-150x52.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Date-Time-range-picker-24x8.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Date-Time-range-picker-36x13.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Date-Time-range-picker-48x17.png 48w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/a><\/p>\n<table>\n<tbody>\n<tr>\n<td width=\"130\"><strong>Start Date\/Time<\/strong>:<\/td>\n<td>The start of the time range that is initially displayed when the page first loads. This is displayed on the top. This is a Datetime variable, preconfigured to use the page default, <em>startTime.<\/em><\/td>\n<\/tr>\n<tr>\n<td><strong>End Date\/Time<\/strong>:<\/td>\n<td>The start of the time range that is initially displayed when the page first loads. This is displayed on the bottom. This is a Datetime variable, preconfigured to use the page default, <em>endTime.<\/em><\/td>\n<\/tr>\n<tr>\n<td><strong>Style<\/strong>:<\/td>\n<td>The style you want to apply to the component. If you are a Style Administrator, you can create a new <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-admin\/explorer-styles\/styling-time-pickers\/\">Date\/Time Range Picker style<\/a>.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"best-prac\"><i class=\"fa fa-trophy fa-2x fa-pull-left\"><\/i><span class=\"best-prac-text\">BEST PRACTICE<\/span><\/p>\n<p class=\"best-prac-desc\"><strong>Start Date\/Time<\/strong> and <strong>End Date\/Time<\/strong> should use variables representing the start and end of a date range, such as the preconfigured <em>startTime<\/em> and <em>endTime<\/em> page default variables.<\/p>\n<\/div>\n<hr \/>\n<h2 class=\"page-subheading\">Quick Start<\/h2>\n<p class=\"intro-text\">You can add a date\/time range picker onto any Explorer page, in Studio mode. There is no need to change the configuration of the component.<\/p>\n<p class=\"intro-text\">1. Open your page in Studio mode.<\/p>\n<p class=\"intro-text\">2. Drag a date\/time range picker to the page, from the components panel, as shown in Step 3 of the tutorial below.<\/p>\n<p class=\"intro-text\">3. See how this affects components on the page (see Step 5 of the tutorial below).<\/p>\n<p class=\"intro-text\">For more detail, go through the tutorial below.<\/p>\n<hr \/>\n<h2 class=\"page-subheading\">Tutorial: Date\/Time Range Picker Using Default Values<\/h2>\n<p class=\"note\">If you're unfamiliar with the process of building pages, read the article\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-create-your-first-page\/building-an-explorer-page\/\" data-slimstat-clicked=\"false\" data-slimstat-type=\"2\" data-slimstat-tracking=\"false\" data-slimstat-callback=\"false\" data-slimstat-async=\"false\">Building an Explorer Page<\/a>.<\/p>\n<p class=\"intro-text\">In this tutorial, we'll add a page based on the \"Date\/Time Tutorials\" page. We'll add a date\/time range picker, and set this to 1 month before the current time.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13760\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro.png\" alt=\"\" width=\"1000\" height=\"394\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro.png 1117w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro-768x303.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro-150x59.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro-24x9.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro-36x14.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro-48x19.png 48w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<p class=\"left-bar\"><strong>Note<\/strong>: This configuration uses the <em>Sample Data <\/em>table\u00a0and datasets that can be optionally made available\u00a0during initial installation and setup. If you don't have access to this data, you will need to adjust the configuration to suit your data at your site.<\/p>\n<p class=\"intro-text\"><strong>Step 1. Prepare the Tutorial Page<\/strong><\/p>\n<p class=\"intro-text\">Before you start the tutorial, prepare a new date\/time tutorial page. If you have already created a \"Date\/Time Tutorials\" page, then open this. Otherwise follow the instructions in <a title=\" Date Time Tutorials\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/date-time-tutorials\/\"> Date Time Tutorials<\/a> to add the page.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components.png\" rel=\"lightbox-5\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13213\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components.png\" alt=\"\" width=\"791\" height=\"514\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components.png 1129w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components-768x499.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components-150x98.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components-24x16.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components-36x23.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Show-the-components-48x31.png 48w\" sizes=\"auto, (max-width: 791px) 100vw, 791px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p class=\"intro-text\"><strong>Step 2. Save as a New Tutorial Page<\/strong><\/p>\n<p class=\"intro-text\">Save the page as \"Date Time Tutorials - Date Time Range Picker\" in your private workspace, <em>My Workspace<\/em>.<\/p>\n<p class=\"intro-text\">1. Click the <strong>Save As<\/strong>\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13286 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/save-as-button.png\" alt=\"\" width=\"21\" height=\"22\" \/> button on the Studio toolbar.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-As.png\" rel=\"lightbox-6\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13253 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-As.png\" alt=\"\" width=\"480\" height=\"250\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-As.png 480w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-As-150x78.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-As-24x13.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-As-36x19.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-As-48x25.png 48w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p class=\"intro-text\">2. In the dialog that appears, type in <strong>Date Time Tutorials - Date Time Range Picker<\/strong>, and keep the default <strong>Workspace<\/strong>, <em>My Workspace<\/em>.<\/p>\n<p class=\"intro-text\">3. Click <strong>Save<\/strong>.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-date-time-range-picker.png\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13248 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-date-time-range-picker.png\" alt=\"\" width=\"593\" height=\"292\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-date-time-range-picker.png 593w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-date-time-range-picker-150x74.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-date-time-range-picker-24x12.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-date-time-range-picker-36x18.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Save-date-time-range-picker-48x24.png 48w\" sizes=\"auto, (max-width: 593px) 100vw, 593px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p class=\"intro-text\"><strong>Step 3. Add a Date\/Time Range Picker<\/strong><\/p>\n<p class=\"intro-text\">1. Drag a Date\/Time Range Picker component onto top right of the Precision Layout, as shown. The Date\/Time Range Picker is in the Time <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1865 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/02\/timeicon_sm.png\" alt=\"timeicon_sm\" width=\"18\" height=\"17\" \/>\u00a0group. Click and drag the borders to resize.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-2.png\" rel=\"lightbox-8\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13755\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-2.png\" alt=\"\" width=\"1001\" height=\"356\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-2.png 1330w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-2-768x273.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-2-150x53.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-2-1280x455.png 1280w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-2-24x9.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-2-36x13.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.1-2-48x17.png 48w\" sizes=\"auto, (max-width: 1001px) 100vw, 1001px\" \/><\/a><\/p>\n<p class=\"intro-text\">2. Click on the Current Date\/Time Toggle component to review it.<\/p>\n<p class=\"intro-text\">There is no need to change any of the properties as they are preconfigured to use the Page Defaults startTime and endTime, respectively.<\/p>\n<p class=\"intro-text\">Remember that these variables are also used in the text labels and tags on this page, so you'll be able to observe how they change when you select a new date from the date picker.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.2-1.png\" rel=\"lightbox-9\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13756 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.2-1.png\" alt=\"\" width=\"636\" height=\"255\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.2-1.png 636w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.2-1-150x60.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.2-1-24x10.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.2-1-36x14.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-3.2-1-48x19.png 48w\" sizes=\"auto, (max-width: 636px) 100vw, 636px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p class=\"intro-text\"><strong>Step 4. Select a From Date (Duration)<\/strong><\/p>\n<p class=\"intro-text\">1. Preview the page, so you can select a <strong>From<\/strong> duration (click the Preview\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2896 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" alt=\"preview\" width=\"13\" height=\"14\" \/> button on the Studio toolbar).<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.1-1.png\" rel=\"lightbox-10\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13776\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.1-1.png\" alt=\"\" width=\"1000\" height=\"405\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.1-1.png 1126w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.1-1-768x311.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.1-1-150x61.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.1-1-24x10.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.1-1-36x15.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.1-1-48x19.png 48w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<p class=\"intro-text\">2. Click the down arrow <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13695 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Down-arrow.png\" alt=\"\" width=\"22\" height=\"22\" \/> then select <em>1 month<\/em> from the drop-down list.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.2.png\" rel=\"lightbox-11\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13758 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.2.png\" alt=\"\" width=\"335\" height=\"355\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.2.png 335w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.2-142x150.png 142w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.2-24x24.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.2-34x36.png 34w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.2-45x48.png 45w\" sizes=\"auto, (max-width: 335px) 100vw, 335px\" \/><\/a><\/p>\n<p class=\"intro-text\">3. Click the Preview\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2896 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" alt=\"preview\" width=\"13\" height=\"14\" \/> button on the Studio toolbar, to return to design mode.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.3-1.png\" rel=\"lightbox-12\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13777\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.3-1.png\" alt=\"\" width=\"1000\" height=\"433\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.3-1.png 1125w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.3-1-768x332.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.3-1-150x65.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.3-1-24x10.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.3-1-36x16.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Step-4.3-1-48x21.png 48w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<p class=\"intro-text\">The date\/time range picker is configured to <strong>From<\/strong> <em>1 month<\/em> <strong>To<\/strong> <em>12 April 2016 10:17:15 AM<\/em> (or current time).<\/p>\n<p class=\"intro-text\">\u00a0<\/p>\n<p class=\"intro-text\"><strong>Try out the New Component<\/strong><\/p>\n<ul>\n<li class=\"intro-text\">Click the Preview <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2896 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/03\/preview.png\" alt=\"preview\" width=\"13\" height=\"14\" \/> button on the Studio toolbar to see what your page will look like in run-time.<\/li>\n<li class=\"intro-text\">For the date\/time range picker, click the down arrow <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13695 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Down-arrow.png\" alt=\"\" width=\"22\" height=\"22\" \/> to the right of <strong>From<\/strong>, then select <em>3 months<\/em> from the drop-down list.<\/li>\n<li class=\"intro-text\">Still in the date\/time range picker, click the calendar icon <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-8003 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2015\/11\/calendaricon.png\" alt=\"calendaricon\" width=\"12\" height=\"14\" \/> to the right of <strong>To<\/strong>, then select <em>29 April 2016<\/em> from the calendar.<\/li>\n<\/ul>\n<p class=\"note\"><strong>Note<\/strong> how the Start Time and End Time text labels update, as well as the tag values using <em>startTime<\/em> and <em>endTime<\/em>, respectively.<\/p>\n<p><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13760\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro.png\" alt=\"\" width=\"1000\" height=\"394\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro.png 1117w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro-768x303.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro-150x59.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro-24x9.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro-36x14.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/04\/Tut-Intro-48x19.png 48w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n<p class=\"left-bar-blue\">Watch the video below to see how the text labels as well as the two tags (the first using start time and the second using end time) change when different dates or ranges are selected.<\/p>\n\r\n\t<!-- Begin Video.js -->\r\n\t<video id=\"example_video_id_974368626\" class=\"video-js vjs-default-skin\" width=\"1014\" height=\"410\" controls preload=\"none\" data-setup='[]'>\r\n\t\t<source src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/videos\/DateTimeRangePicker.mp4\" type='video\/mp4' \/>\r\n\t\t\r\n\t\t\r\n\t<\/video>\r\n\t<!-- End Video.js -->\r\n\n<hr \/>\n<h2 class=\"page-subheading\">Release History<\/h2>\n<ul class=\"intro-text\">\n<li><a title=\"Date\/Time Range Picker (4.3.2)\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/time-menu\/time-menu-4-3-2\/\">Date\/Time Range Picker 4.3.2<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The Date\/Time Range Picker component allows a user to select two date\/times, or a duration (such as 1 month) with an end date\/time or \"Now\".<br \/>\nThese date\/times are preconfigured to set the page defaults variables for startTime and endTime, which in turn can be used for retrieving data such as trends or charts. This article describes how to configure a Date\/Time Range Picker in versions 4.4 and later of IFS OI Explorer.<\/p>\n<p> This article applies to versions 4.4 and later of IFS OI Explorer. <\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-explorer\/explorer-studio\/controls\/time-menu\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":8,"featured_media":13788,"parent":1407,"menu_order":187,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[11],"tags":[348],"class_list":["post-13127","page","type-page","status-publish","has-post-thumbnail","hentry","category-tutorial","tag-date-and-time-pickers","Product-ex"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/13127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=13127"}],"version-history":[{"count":3,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/13127\/revisions"}],"predecessor-version":[{"id":67019,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/13127\/revisions\/67019"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/1407"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/13788"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=13127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=13127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=13127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}