{"id":42038,"date":"2016-02-25T17:02:34","date_gmt":"2016-02-25T17:02:34","guid":{"rendered":"http:\/\/webkul.com\/blog\/?p=42038"},"modified":"2016-02-25T17:04:34","modified_gmt":"2016-02-25T17:04:34","slug":"manage-time-difference-based-on-time-zones","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/","title":{"rendered":"Manage time difference based on time zones"},"content":{"rendered":"<p>With the globalisation, there emerges a need for showing the time to the users according to their location. And there emerges another question too that how can we find out the time zone of a user. Although, it is very easy to get the time zone of a user using client side language, i.e. &#8220;Javascript&#8221;. So, how to use the time zone saved in javascript into the PHP code to view zone-wise time. So, in order to use the time zone difference in the PHP, we will make use of cookies to store the time difference of a user.<\/p>\n<p>In PHP, if we will use Date() function to print the time then we will have something like this:<\/p>\n<p>PHP Code:<\/p>\n<pre class=\"brush:php\">&lt;?php\r\necho Date(\"Y-m-d H:i:s\");\r\n?&gt;<\/pre>\n<p>Output of date and time:<\/p>\n<p><img decoding=\"async\" class=\"size-full wp-image-42040\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/date_output.png\" alt=\"Output of date\" width=\"236\" height=\"106\" loading=\"lazy\" \/><br \/>\nSo, in order to get a correct time as per my location, I will use this code which will save the difference in a\u00a0cookie and then we can easily make use of that difference saved in the cookie to show time as per a user.<\/p>\n<pre class=\"brush:php\">&lt;?php\r\n$myDate = Date(\"Y-m-d H:i:s\");\r\necho 'PHP Time : '.$myDate;\r\n\r\necho '&lt;script&gt;\r\n createCookie(\"time_diff\"); \/\/ calling the createCookie() function and saving the difference in \"time_diff\" variable\r\n\r\n function createCookie(name) {\r\n\tvar rightNow = new Date();\r\n\tvar jan1 = new Date(rightNow.getFullYear(), 0, 1, 0, 0, 0, 0);\r\n\tvar temp = jan1.toGMTString();\r\n\tvar jan2 = new Date(temp.substring(0, temp.lastIndexOf(\" \")-1)); \/\/ manages the daylight hours saving\r\n\tvar std_time_offset = (jan1 - jan2) \/ (1000 * 60 * 60);\r\n  \tdocument.cookie = escape(name) + \"=\" + std_time_offset + \"; path=\/\";\r\n }\r\n&lt;\/script&gt;';\r\n\r\nif (isset($_COOKIE['time_diff'])) {\r\n\techo \"&lt;br&gt;\";\r\n\techo 'Time difference : '.$_COOKIE['time_diff'];\r\n\t$time_diff = $_COOKIE['time_diff'] * 3600;\r\n}\r\n$date = strtotime($myDate);\r\n\r\nif (isset($time_diff) &amp;&amp; $time_diff) {\t\t\t\r\n\t$date = $date + $time_diff;\r\n}\r\n\r\n$newDate = date('Y\/m\/d H:i:s', $date);\r\necho \"&lt;br&gt;\";\r\necho 'Converted Time : '.$newDate;\r\n?&gt;<\/pre>\n<p>The output of the above code will be:<\/p>\n<p><img decoding=\"async\" class=\"alignleft size-full wp-image-42041\" src=\"http:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/output_converted_time.png\" alt=\"Output of PHP as well as converted time\" width=\"400\" height=\"127\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/output_converted_time.png 400w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/output_converted_time-250x79.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/02\/output_converted_time-300x95.png 300w\" sizes=\"(max-width: 400px) 100vw, 400px\" loading=\"lazy\" \/><\/p>\n<p>So, as per my location &#8220;India&#8221;, I&#8217;m able to get a time difference of +5.5.<\/p>\n<p>PS: The time difference mustn&#8217;t be saved in the cookie on the same page as it may give an error on using the cookie on the same page. The cookie must be saved a bit earlier than calculating the time.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the globalisation, there emerges a need for showing the time to the users according to their location. And there emerges another question too that how can we find out the time zone of a user. Although, it is very easy to get the time zone of a user using client side language, i.e. &#8220;Javascript&#8221;. <a href=\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":70,"featured_media":43102,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[198,305,13,1],"tags":[2795,1894,2071,2794],"class_list":["post-42038","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript","category-opencart","category-php","category-uncategorized","tag-date","tag-js","tag-opencart","tag-time"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Manage time difference based on time zones - Webkul Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Manage time difference based on time zones - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"With the globalisation, there emerges a need for showing the time to the users according to their location. And there emerges another question too that how can we find out the time zone of a user. Although, it is very easy to get the time zone of a user using client side language, i.e. &#8220;Javascript&#8221;. [...]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-02-25T17:02:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2016-02-25T17:04:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Code-Snippet.png\" \/>\n\t<meta property=\"og:image:width\" content=\"825\" \/>\n\t<meta property=\"og:image:height\" content=\"260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Vikhyat Sharma\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vikhyat Sharma\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/\"},\"author\":{\"name\":\"Vikhyat Sharma\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/af7160d2546c64a1856ab1b5ce77d9b0\"},\"headline\":\"Manage time difference based on time zones\",\"datePublished\":\"2016-02-25T17:02:34+00:00\",\"dateModified\":\"2016-02-25T17:04:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/\"},\"wordCount\":241,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Code-Snippet.png\",\"keywords\":[\"date\",\"js\",\"opencart\",\"time\"],\"articleSection\":[\"JavaScript\",\"opencart\",\"php\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/\",\"url\":\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/\",\"name\":\"Manage time difference based on time zones - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Code-Snippet.png\",\"datePublished\":\"2016-02-25T17:02:34+00:00\",\"dateModified\":\"2016-02-25T17:04:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Code-Snippet.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Code-Snippet.png\",\"width\":825,\"height\":260},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Manage time difference based on time zones\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/af7160d2546c64a1856ab1b5ce77d9b0\",\"name\":\"Vikhyat Sharma\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/7c9c700cc2d7120c9faf1ab3392b4e533808ba197f58c0441d6caecc68179e12?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/7c9c700cc2d7120c9faf1ab3392b4e533808ba197f58c0441d6caecc68179e12?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Vikhyat Sharma\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/vikhyat-sharma83\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Manage time difference based on time zones - Webkul Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/","og_locale":"en_US","og_type":"article","og_title":"Manage time difference based on time zones - Webkul Blog","og_description":"With the globalisation, there emerges a need for showing the time to the users according to their location. And there emerges another question too that how can we find out the time zone of a user. Although, it is very easy to get the time zone of a user using client side language, i.e. &#8220;Javascript&#8221;. [...]","og_url":"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2016-02-25T17:02:34+00:00","article_modified_time":"2016-02-25T17:04:34+00:00","og_image":[{"width":825,"height":260,"url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Code-Snippet.png","type":"image\/png"}],"author":"Vikhyat Sharma","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Vikhyat Sharma","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/"},"author":{"name":"Vikhyat Sharma","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/af7160d2546c64a1856ab1b5ce77d9b0"},"headline":"Manage time difference based on time zones","datePublished":"2016-02-25T17:02:34+00:00","dateModified":"2016-02-25T17:04:34+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/"},"wordCount":241,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Code-Snippet.png","keywords":["date","js","opencart","time"],"articleSection":["JavaScript","opencart","php"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/","url":"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/","name":"Manage time difference based on time zones - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#primaryimage"},"thumbnailUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Code-Snippet.png","datePublished":"2016-02-25T17:02:34+00:00","dateModified":"2016-02-25T17:04:34+00:00","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Code-Snippet.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2016\/03\/Code-Snippet.png","width":825,"height":260},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/manage-time-difference-based-on-time-zones\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Manage time difference based on time zones"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/af7160d2546c64a1856ab1b5ce77d9b0","name":"Vikhyat Sharma","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/7c9c700cc2d7120c9faf1ab3392b4e533808ba197f58c0441d6caecc68179e12?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/7c9c700cc2d7120c9faf1ab3392b4e533808ba197f58c0441d6caecc68179e12?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Vikhyat Sharma"},"url":"https:\/\/webkul.com\/blog\/author\/vikhyat-sharma83\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/42038","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/70"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=42038"}],"version-history":[{"count":2,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/42038\/revisions"}],"predecessor-version":[{"id":42043,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/42038\/revisions\/42043"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media\/43102"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=42038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=42038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=42038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}