{"id":42938,"date":"2018-12-10T09:27:04","date_gmt":"2018-12-10T01:27:04","guid":{"rendered":"http:\/\/localhost\/help\/?page_id=42938"},"modified":"2023-12-08T15:26:19","modified_gmt":"2023-12-08T07:26:19","slug":"time","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/time\/","title":{"rendered":"Time"},"content":{"rendered":"\n<p class=\"intro-text\">The Time components provide a way to work with time periods and timestamps of data points.<\/p>\n<h2 class=\"page-subheading\">Add Seconds<\/h2>\n<p class=\"intro-text\">The Add Seconds component adds seconds to a timestamp. You can use this to create a time offset in a process.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43854 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-171.png\" alt=\"\" width=\"97\" height=\"61\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-171.png 97w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-171-24x15.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-171-36x23.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-171-48x30.png 48w\" sizes=\"auto, (max-width: 97px) 100vw, 97px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/p>\n<p class=\"no-toc-heading\">Inputs<\/p>\n<p class=\"dl-term\">Flow <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42986 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The component that acts as a trigger for this component should be connected to this pin.<\/p>\n<p class=\"dl-term\">Date Time <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42982 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The timestamp passed by the pin of the connected component. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"dl-term\">Number <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42979 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-11.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The number of seconds to add to the timestamp. For example, 120 (120 seconds). To subtract time from the timestamp, use a negative symbol (-), for example, -120. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Date Time\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42982 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The resultant timestamp, which has been incremented (or decremented, if a negative number is used) by the specified number of seconds.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the input data is compared with the data from 60 seconds earlier to see if it is above or below. The input stream is split into two to retrieve the current value and the previous value.<\/p>\n<p class=\"intro-text\">The previous value is obtained by adding 60 seconds to the data's timestamp. This gives us the point in time for which we want to get the value.<\/p>\n<p class=\"intro-text\">We will use that timestamp as an end point and retrieve a 24-hour window worth of values up to that point. We will then take the last value from that 24-hour window worth of data. This is the value that we will use for comparison.<\/p>\n<p class=\"intro-text\">We then compare that value with the current value obtained by the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/data\/#Get_Single\">Get Single<\/a> component.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-213.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43859 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-213.png\" alt=\"\" width=\"1011\" height=\"196\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-213.png 1011w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-213-768x149.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-213-150x29.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-213-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-213-36x7.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-213-48x9.png 48w\" sizes=\"auto, (max-width: 1011px) 100vw, 1011px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Add Time Period<\/h2>\n<p class=\"intro-text\">The Add Time Period component adds a time period to a timestamp. You can use this to create a time offset in a process.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43860 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-214.png\" alt=\"\" width=\"111\" height=\"56\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-214.png 111w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-214-24x12.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-214-36x18.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-214-48x24.png 48w\" sizes=\"auto, (max-width: 111px) 100vw, 111px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/p>\n<p class=\"no-toc-heading\">Inputs<\/p>\n<p class=\"dl-term\">Flow\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42986 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The component that acts as a trigger for this component should be connected to this pin.<\/p>\n<p class=\"dl-term\">Date Time\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42982 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The timestamp passed by the pin of the connected component. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"dl-term\">Time Period\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-16.png\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42984 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-16.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The period of time to add to the timestamp. For example, 1 hour. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Date Time\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42982 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The resultant timestamp, which has been incremented by the specified time period.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the input data is compared with the data from the previous day to see if it is above or below. The input stream is split into two to retrieve the current value and the previous value.<\/p>\n<p class=\"intro-text\">The previous value is obtained by adding a time period of 1 day to the data's timestamp. We must put a negative symbol to indicate we want to go back in time to get the value from the previous day. This gives us the point in time for which we want to get the value of.<\/p>\n<p class=\"intro-text\">We will use that timestamp as an end point and retrieve a minute's worth of values up to that point. We will then take the last value from that minute's worth of data. This is the value that we will use for comparison.<\/p>\n<p class=\"intro-text\">We then compare that value with the current value obtained by the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/data\/#Get_Single\">Get Single<\/a> component.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/?attachment_id=43865\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43865 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-237.png\" alt=\"\" width=\"1126\" height=\"223\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-237.png 1126w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-237-768x152.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-237-150x30.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-237-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-237-36x7.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-237-48x10.png 48w\" sizes=\"auto, (max-width: 1126px) 100vw, 1126px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Now<\/h2>\n<p class=\"intro-text\">The Now component retrieves the current timestamp and sends it to the connecting component. This component should only be used with the <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/logging\/\">Log<\/a> component, to log a message at the current timestamp as opposed to the timestamp of the entity.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43866 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-242.png\" alt=\"\" width=\"50\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-242.png 50w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-242-24x24.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-242-36x36.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-242-48x48.png 48w\" sizes=\"auto, (max-width: 50px) 100vw, 50px\" \/><\/p>\n<p class=\"left-bar-yellow\"><strong>Warning<\/strong>: If this component is used with <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/data\/#Get_Window\">Get Window<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/data\/#Get_Window_From\">Get Window From<\/a>, or <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/data\/#Get_Window_Start_Filter\">Get Window Start Filter<\/a>, data points will not be retrieved at the correct times and you will get unexpected results.<\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/p>\n<p class=\"no-toc-heading\">Inputs<\/p>\n<p class=\"dl-term\">Flow\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42986 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The component that acts as a trigger for this component should be connected to this pin.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Date Time\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42982 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The current timestamp.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the Now component is used to obtain the current timestamp, which is converted to text and joined into one string that is ultimately sent to the logging infrastructure.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-249.png\" rel=\"lightbox-11\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43869 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-249.png\" alt=\"\" width=\"734\" height=\"259\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-249.png 734w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-249-150x53.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-249-24x8.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-249-36x13.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-249-48x17.png 48w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Set Timestamp<\/h2>\n<p class=\"intro-text\">The Set Timestamp component sets the timestamp of the input to the specified timestamp.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43870 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-257.png\" alt=\"\" width=\"98\" height=\"54\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-257.png 98w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-257-24x13.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-257-36x20.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-257-48x26.png 48w\" sizes=\"auto, (max-width: 98px) 100vw, 98px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/p>\n<p class=\"no-toc-heading\">Inputs<\/p>\n<p class=\"dl-term\">Flow\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42986 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The component that acts as a trigger for this component should be connected to this pin.<\/p>\n<p class=\"dl-term\">data <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-17.png\" rel=\"lightbox-13\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42985 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-17.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The input value.<\/p>\n<p class=\"dl-term\">time\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42982 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The timestamp that you want to set for the input.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Mixed\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-17.png\" rel=\"lightbox-13\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42985 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-17.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The data point with the new timestamp. Not connecting this output pin will produce a warning.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the temperature is compared against a maximum value. If the temperature is greater than the maximum, an event is raised, the state of the entity changes to Above, and a value of <strong>0<\/strong> is written to the entity. The Set Timestamp component gives to the value the timestamp of the entity used to supply the Temperature input.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-268.png\" rel=\"lightbox-16\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43875 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-268.png\" alt=\"\" width=\"997\" height=\"236\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-268.png 997w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-268-768x182.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-268-150x36.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-268-24x6.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-268-36x9.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-268-48x11.png 48w\" sizes=\"auto, (max-width: 997px) 100vw, 997px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Text \u2192 Time<\/h2>\n<p class=\"intro-text\">The Text \u2192 Time component parses a string and converts it into its equivalent timestamp. The timestamp is in UTC format.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43876 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-269.png\" alt=\"\" width=\"85\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-269.png 85w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-269-24x14.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-269-36x21.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-269-48x28.png 48w\" sizes=\"auto, (max-width: 85px) 100vw, 85px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/p>\n<p class=\"no-toc-heading\">Inputs<\/p>\n<p class=\"dl-term\">Flow\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42986 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The component that acts as a trigger for this component should be connected to this pin.<\/p>\n<p class=\"dl-term\">Text\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" rel=\"lightbox-18\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42981 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The string that is to be converted into a timestamp. This input is required. Not connecting this pin will produce an error. The string should have the following format: <br \/>\n<strong>yyyy-M-d h:mm:ss tt<\/strong> <br \/>\nE.g. 2014-12-1 12:00:00 AM<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Date Time\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42982 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The timestamp produced by the component after parsing the input string.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42986 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">If the string cannot be converted to a time format, the process follows this path. No data is passed to the connected component. This pin is optional. Not connecting this pin will produce a warning. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the user inputs a string to use as a timestamp. The Text \u2192 Time component converts this to a timestamp to send to the rest of the process. If the conversion cannot happen, a message is logged.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-282.png\" rel=\"lightbox-21\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43881 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-282.png\" alt=\"\" width=\"838\" height=\"210\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-282.png 838w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-282-768x192.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-282-150x38.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-282-24x6.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-282-36x9.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-282-48x12.png 48w\" sizes=\"auto, (max-width: 838px) 100vw, 838px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Text \u2192 Time Period<\/h2>\n<p class=\"intro-text\">The Text \u2192 Time Period component parses a string and converts it into its equivalent time period. The time period is in UTC format.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43882 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-286.png\" alt=\"\" width=\"123\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-286.png 123w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-286-24x10.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-286-36x15.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-286-48x20.png 48w\" sizes=\"auto, (max-width: 123px) 100vw, 123px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/p>\n<p class=\"no-toc-heading\">Inputs<\/p>\n<p class=\"dl-term\">Flow\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42986 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The component that acts as a trigger for this component should be connected to this pin.<\/p>\n<p class=\"dl-term\">Text\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" rel=\"lightbox-18\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42981 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"intro-text\">The string that is to be converted into a time period. This input is required. Not connecting this pin will produce an error. The string should have the following format: <br \/>\n&lt;years&gt;<strong>y<\/strong>&lt;months&gt;<strong>m<\/strong>&lt;weeks&gt;<strong>w<\/strong>&lt;days&gt;<strong>d<\/strong>&lt;hours&gt;<strong>h<\/strong>&lt;minutes&gt;<strong>mi<\/strong>&lt;seconds&gt;<strong>s<\/strong>&lt;milliseconds&gt;<strong>ms<\/strong> <br \/>\ne.g. 2y5m2w3d13h54mi12s0ms<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Time Period\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-16.png\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42984 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-16.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The time period produced by the component after parsing the input string.<\/p>\n<p class=\"dl-term\">err\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42986 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">If the string cannot be converted to a time period format, the process follows this path. No data is passed to the connected component. This pin is optional. Not connecting this output pin will produce a warning. If this pin is not connected, the process will abort if an error is encountered.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the user inputs a string to use as a time period. The Text \u2192 Time Period component converts this to a time period to send to the rest of the process. If the conversion cannot happen, a message is logged.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-301.png\" rel=\"lightbox-26\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43887 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-301.png\" alt=\"\" width=\"911\" height=\"221\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-301.png 911w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-301-768x186.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-301-150x36.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-301-24x6.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-301-36x9.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-301-48x12.png 48w\" sizes=\"auto, (max-width: 911px) 100vw, 911px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Time \u2192 Text<\/h2>\n<p class=\"intro-text\">The Time \u2192 Text component formats a timestamp as a string.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43888 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-302.png\" alt=\"\" width=\"86\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-302.png 86w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-302-24x14.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-302-36x21.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-302-48x28.png 48w\" sizes=\"auto, (max-width: 86px) 100vw, 86px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"dl-term\">Timestamp Format<\/p>\n<p class=\"dl-def\">You can choose to format the timestamp in two ways:<\/p>\n<ul class=\"dl-def\">\n<li><strong>d\/M\/yyyy h:mm:ss tt<\/strong><br \/>\nE.g. 13\/11\/2014 13:00:00 AM (where tt is AM or PM)<\/li>\n<li><strong>UTC<\/strong><br \/>\nThe date and time in Coordinated Universal Time. E.g. 2014-11-13T13:00:00+08:00.<\/li>\n<\/ul>\n<p class=\"no-toc-heading\">Inputs<\/p>\n<p class=\"dl-term\">Flow\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42986 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The component that acts as a trigger for this component should be connected to this pin. This pin is optional.<\/p>\n<p class=\"dl-term\">Date Time\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42982 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The timestamp that is to be converted to text.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Text\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" rel=\"lightbox-18\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42981 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The text conversion of the timestamp.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the current time is retrieved by the Now component, and is converted to text so that it can be logged.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-310.png\" rel=\"lightbox-30\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43892 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-310.png\" alt=\"\" width=\"734\" height=\"259\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-310.png 734w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-310-150x53.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-310-24x8.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-310-36x13.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-310-48x17.png 48w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Time Difference<\/h2>\n<p class=\"intro-text\">The Time Difference component produces a time period that represents the difference between the two timestamp inputs.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43893 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-311.png\" alt=\"\" width=\"104\" height=\"54\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-311.png 104w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-311-24x12.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-311-36x19.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-311-48x25.png 48w\" sizes=\"auto, (max-width: 104px) 100vw, 104px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/p>\n<p class=\"no-toc-heading\">Inputs<\/p>\n<p class=\"dl-term\">Flow\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42986 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The component that acts as a trigger for this component should be connected to this pin.<\/p>\n<p class=\"dl-term\">ts1\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42982 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The start timestamp of the time period. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"dl-term\">ts2\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42982 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-14.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The end timestamp of the time period. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Time Period\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-16.png\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42984 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-16.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The time period that represents the difference between the two inputs.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, the Time Difference component retrieves the timestamp of Input 2 and reads the timestamp of Input 1 from memory. It produces a time period, which is used as the input for a Boolean operator that evaluates if the difference between the two time stamps is greater than 2 minutes.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-325.png\" rel=\"lightbox-35\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43898 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-325.png\" alt=\"\" width=\"922\" height=\"198\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-325.png 922w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-325-768x165.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-325-150x32.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-325-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-325-36x8.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-325-48x10.png 48w\" sizes=\"auto, (max-width: 922px) 100vw, 922px\" \/><\/a><\/p>\n<h2 class=\"page-subheading\">Time Period \u2192 Text<\/h2>\n<p class=\"intro-text\">The Time Period \u2192 Text component converts a time period to string format.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43899 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-329.png\" alt=\"\" width=\"125\" height=\"50\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-329.png 125w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-329-24x10.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-329-36x14.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-329-48x19.png 48w\" sizes=\"auto, (max-width: 125px) 100vw, 125px\" \/><\/p>\n<p class=\"no-toc-heading\">Properties<\/p>\n<p class=\"intro-text\">This component has no additional properties.<\/p>\n<p class=\"no-toc-heading\">Inputs<\/p>\n<p class=\"dl-term\">Flow\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42986 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-18.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The component that acts as a trigger for this component should be connected to this pin.<\/p>\n<p class=\"dl-term\">Time Period <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-16.png\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42984 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-16.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The time period that is to be converted to text. This input is required. Not connecting this pin will produce an error.<\/p>\n<p class=\"no-toc-heading\">Outputs<\/p>\n<p class=\"dl-term\">Text <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" rel=\"lightbox-18\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-42981 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-13.png\" alt=\"\" width=\"16\" height=\"16\" \/><\/a><\/p>\n<p class=\"dl-def\">The text representation of the time period.<\/p>\n<p class=\"no-toc-heading\">Example<\/p>\n<p class=\"intro-text\">In the following example, a time period value is obtained by getting the time range from the first data point to the last data point in the data set. The resulting time period is logged in the logging infrastructure.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-340.png\" rel=\"lightbox-39\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-43903 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-340.png\" alt=\"\" width=\"816\" height=\"173\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-340.png 816w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-340-768x163.png 768w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-340-150x32.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-340-24x5.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-340-36x8.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2018\/12\/word-image-340-48x10.png 48w\" sizes=\"auto, (max-width: 816px) 100vw, 816px\" \/><\/a><\/p>\n<p class=\"left-bar\">Related: <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/sentinel-studio-primers\/\">Sentinel Studio Primers<\/a>,\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/creating-user-processes\/creating-a-new-user-process\/\">Creating a User Process<\/a>, <a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/usage-examples\/\">Usage Examples<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Time components in Sentinel Studio provide a way to work with time periods and timestamps of data points.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/sentinel\/sentinel-studio\/component-logic-functions\/time\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":43904,"parent":42147,"menu_order":16,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[698,704,732,752,753,754,823,696,821,726,513,154,825,822,824,694],"class_list":["post-42938","page","type-page","status-publish","has-post-thumbnail","hentry","category-tech-ref","tag-components-sentinel","tag-data-windows","tag-get-single","tag-get-window","tag-get-window-from","tag-get-window-start-filter","tag-now","tag-process-component","tag-seconds","tag-studio-sentinel","tag-text","tag-time","tag-time-difference","tag-time-period","tag-timestamp","tag-user-process","Version-4-6-1","Product-sen"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42938","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/comments?post=42938"}],"version-history":[{"count":1,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42938\/revisions"}],"predecessor-version":[{"id":46334,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42938\/revisions\/46334"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/42147"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/43904"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=42938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=42938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=42938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}