{"id":10420,"date":"2016-02-26T14:42:34","date_gmt":"2016-02-26T06:42:34","guid":{"rendered":"http:\/\/localhost\/help\/p2-server\/calculations\/timegt\/"},"modified":"2024-08-15T10:31:32","modified_gmt":"2024-08-15T02:31:32","slug":"timegt","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/timegt\/","title":{"rendered":"TimeGt()"},"content":{"rendered":"\n<h2><span id=\"Format\">Format<\/span><\/h2>\n<p class=\"intro-text\"><strong>TimeGt(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 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 \/>\nBehaviour: Required<br \/>\nDimension:\u00a0Collection<br \/>\nValid\u00a0data types: Decimal<\/p>\n<p class=\"intro-text\"><strong>Expr2<\/strong>:\u00a0The expression whose value should be counted.\u00a0<br \/>\nBehaviour: Required<br \/>\nDimension: Collection<br \/>\nValid\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 \/>\nBehaviour: Required<br \/>\nDimension:\u00a0Collection, SingleValue<br \/>\nValid\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 \/>\nBehaviour:\u00a0Optional<br \/>\nDimension: Collection, SingleValue<br \/>\nValid\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 the values of Expr1 are considered greater than the values of Expr2.<\/p>\n<p class=\"intro-text\"><a href=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timegt.png\" rel=\"attachment wp-att-10446 lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10446\" src=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timegt.png\" alt=\"timegt\" width=\"548\" height=\"271\" srcset=\"https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timegt.png 548w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timegt-150x74.png 150w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timegt-24x12.png 24w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timegt-36x18.png 36w, https:\/\/oihelp.corporate.ifs.com\/help\/wp-content\/uploads\/2016\/02\/timegt-48x24.png 48w\" sizes=\"auto, (max-width: 548px) 100vw, 548px\" \/><\/a>\u00a0<\/p>\n<p class=\"intro-text\">\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use TimeGt() to get the number of seconds, during the interval from StartTime to EndTime, that the value of one of the expressions is greater than the other.<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/timegt\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":10433,"parent":3650,"menu_order":222,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[100,406],"class_list":["post-10420","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\/10420","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=10420"}],"version-history":[{"count":2,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/10420\/revisions"}],"predecessor-version":[{"id":64781,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/10420\/revisions\/64781"}],"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\/10433"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=10420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=10420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=10420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}