{"id":64910,"date":"2024-01-17T13:14:31","date_gmt":"2024-01-17T05:14:31","guid":{"rendered":"https:\/\/oihelp.corporate.ifs.com\/help\/?page_id=64910"},"modified":"2024-08-15T10:31:30","modified_gmt":"2024-08-15T02:31:30","slug":"rawtimeof","status":"publish","type":"page","link":"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/rawtimeof\/","title":{"rendered":"RawTimeOf()"},"content":{"rendered":"\n<h2>Format<\/h2>\n<p class=\"intro-text\">RawTimeOf(Arg1)<\/p>\n<h2>Returns<\/h2>\n<p class=\"intro-text\">Returns the original timestamp of each datum expressed as the number of seconds since Unix epoch (1970 Jan 1 00:00:00).\u00a0That is, the exact timestamp of the data point is returned if possible, not the timestamp from the end of the sample interval period as would happen with a normal fetch of data from a Tag.<\/p>\n<p class=\"intro-text\">If the timestamp of the value was overwritten by another function (e.g. Min_Sampled()) then it tries to return the original timestamp of the source value. However, if that fails, then it returns the actual timestamp of the value (similar to the TimeOf() function).<\/p>\n<h2>Inputs<\/h2>\n<p class=\"intro-text\"><b>Arg1:\u00a0<\/b>The argument being evaluated.<br \/>\nBehaviour: Required<br \/>\nDimensions: Collection, SingleValue, MultiCollection<br \/>\nValid data types: Null, Boolean, DateTime, Decimal, Integer, String, Duration, Error<\/p>\n<h2>Examples<\/h2>\n<p class=\"intro-text\">Expression: <span class=\"code-fragment\">RawTimeOf({tag})<\/span><br \/>\nResult: Returns the timestamps of the values.<\/p>\n<p class=\"intro-text\">Expression: <span class=\"code-fragment\">RawTimeOf(Min_Sampled(...))<\/span><br \/>\nResult: Returns the timestamps of the <em>source<\/em>\u00a0values.<\/p>\n<h2>Release History<\/h2>\n<ul class=\"intro-text\">\n<li>RawTimeOf() 4.10.3\n<ul class=\"intro-text\">\n<li>Initial version<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>RawTimeOf() returns the original timestamp of each datum expressed as the number of seconds since Unix epoch (1970 Jan 1 00:00:00).<\/p>\n<p class=\"continue-reading-button\"> <a class=\"continue-reading-link\" href=\"https:\/\/oihelp.corporate.ifs.com\/help\/p2-server\/calculations\/rawtimeof\/\">Read more<i class=\"crycon-right-dir\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":9858,"parent":3650,"menu_order":168,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"categories":[9],"tags":[212,154],"class_list":["post-64910","page","type-page","status-publish","has-post-thumbnail","hentry","category-tech-ref","tag-raw","tag-time","Version-4-10-3","Product-srv"],"_links":{"self":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/64910","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=64910"}],"version-history":[{"count":2,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/64910\/revisions"}],"predecessor-version":[{"id":64941,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/pages\/64910\/revisions\/64941"}],"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\/9858"}],"wp:attachment":[{"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/media?parent=64910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/categories?post=64910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oihelp.corporate.ifs.com\/help\/wp-json\/wp\/v2\/tags?post=64910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}