{"id":10421,"date":"2016-02-26T14:43:08","date_gmt":"2016-02-26T06:43:08","guid":{"rendered":"http:\/\/localhost\/help\/p2-server\/calculations\/timele\/"},"modified":"2024-08-15T10:31:32","modified_gmt":"2024-08-15T02:31:32","slug":"timele","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/timele\/","title":{"rendered":"TimeLe()"},"content":{"rendered":"\n<h2><span id=\"Format\">Format<\/span><\/h2>\n<p class=\"intro-text\"><strong>TimeLe(Expr1 ,Expr2 ,StartTime [,EndTime])<\/strong><\/p>\n<h2><span id=\"Returns\">Returns<\/span><\/h2>\n<p class=\"intro-text\">Returns the number of seconds during the interval from StartTime\u00a0to EndTime, that the value of Expr1\u00a0is less\u00a0than or equal to the value of Expr2.<\/p>\n<h2>Inputs<\/h2>\n<p class=\"intro-text\"><strong>Expr1<\/strong>:\u00a0The expression whose value should be counted.\u00a0<br \/>\n Behaviour: Required<br \/>\n Dimension:\u00a0Collection<br \/>\n Valid\u00a0data types: Decimal<\/p>\n<p class=\"intro-text\"><strong>Expr2<\/strong>:\u00a0The expression whose value should be counted.\u00a0<br \/>\n Behaviour: Required<br \/>\n Dimension: Collection<br \/>\n Valid\u00a0data types: Decimal<\/p>\n<p class=\"left-bar-p2blue\">Note:\u00a0The values of <em>Expr1\u00a0<\/em>and <em>Expr2\u00a0<\/em>must be numerically identical to full precision to be considered equal. E.g. A tag with a value of 2.3499978 might be rounded to 2.35 for display purposes, but TimeEq({Tag}, 2.35, StartTime, EndTime) would return zero.<\/p>\n<p class=\"intro-text\"><strong>StartTime<\/strong>:\u00a0The start time over which to produce the count.\u00a0Errors and Nulls are ignored.<br \/>\n Behaviour: Required<br \/>\n Dimension:\u00a0Collection, SingleValue<br \/>\n Valid\u00a0data types:\u00a0DateTime, Decimal, Duration, Integer, String<\/p>\n<p class=\"intro-text\"><strong>EndTime<\/strong>:\u00a0The end time over which to produce the count. Errors and Nulls are ignored. Default: Time().<br \/>\n Behaviour:\u00a0Optional<br \/>\n Dimension: Collection, SingleValue<br \/>\n Valid\u00a0data types: DateTime, Decimal, Duration, Integer, String<\/p>\n<p class=\"left-bar\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/calculation-syntax\/#Data_Type\">How to format data types<\/a><\/p>\n<h2><span id=\"Examples\">Examples<\/span><\/h2>\n<p class=\"intro-text\">The following diagram illustrates the conditions under which values are considered less\u00a0than or equal to.<\/p>\n<p class=\"intro-text\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-10449 size-full\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timele.png\" alt=\"timele\" width=\"436\" height=\"218\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timele.png 436w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timele-150x75.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timele-24x12.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timele-36x18.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timele-48x24.png 48w\" sizes=\"auto, (max-width: 436px) 100vw, 436px\" \/><\/p>\n<p class=\"intro-text\">\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use TimeGe() to get the number of seconds, during the interval from StartTime to EndTime, that the value of the expressions are greater than or equal to each other.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/timele\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":10431,"parent":3650,"menu_order":223,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[100,406],"class_list":["post-10421","page","type-page","status-publish","has-post-thumbnail","hentry","category-tech-ref","tag-calculations","tag-time-intervals","Product-srv"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/10421","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=10421"}],"version-history":[{"count":1,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/10421\/revisions"}],"predecessor-version":[{"id":46259,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/10421\/revisions\/46259"}],"up":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/3650"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media\/10431"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=10421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=10421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=10421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}