{"id":10419,"date":"2016-02-26T14:42:09","date_gmt":"2016-02-26T06:42:09","guid":{"rendered":"http:\/\/localhost\/help\/p2-server\/calculations\/timege\/"},"modified":"2024-08-15T10:31:32","modified_gmt":"2024-08-15T02:31:32","slug":"timege","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/timege\/","title":{"rendered":"TimeGe()"},"content":{"rendered":"\n<h2><span id=\"Format\">Format<\/span><\/h2>\n<p class=\"intro-text\"><strong>TimeGe(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 greater than 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 greater than or equal to.<\/p>\n<p class=\"intro-text\">\u00a0<a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timege.png\" rel=\"attachment wp-att-10442 lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10442\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timege.png\" alt=\"timege\" width=\"570\" height=\"267\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timege.png 570w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timege-150x70.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timege-24x11.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timege-36x17.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timege-48x22.png 48w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/a><\/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\/timege\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":10435,"parent":3650,"menu_order":221,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[100,406],"class_list":["post-10419","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\/10419","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=10419"}],"version-history":[{"count":1,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/10419\/revisions"}],"predecessor-version":[{"id":46257,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/10419\/revisions\/46257"}],"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\/10435"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=10419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=10419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=10419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}