{"id":3507,"date":"2020-01-13T09:44:10","date_gmt":"2020-01-13T08:44:10","guid":{"rendered":"https:\/\/help.cirrus-shield.com\/?post_type=docs&#038;p=3507"},"modified":"2020-01-13T19:47:58","modified_gmt":"2020-01-13T18:47:58","slug":"format-date-time","status":"publish","type":"docs","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/developer-guide\/javascript-library\/format-date-time\/","title":{"rendered":"Format Date Time"},"content":{"rendered":"\n<p>This function is used to format the\ndate time to the following format \u201cyyyy-MM-dd hh:mm:ss+TZ\u201d.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Function<\/strong>: formatDateTime(date)<\/li><li><strong>Usage<\/strong>: &nbsp;formatDate(Quote.Delivery_Date);<\/li><li><strong>Output<\/strong>: &#8220;2019-06-07\n09:46:24+00&#8221;<\/li><\/ul>\n","protected":false},"author":1,"featured_media":0,"parent":945,"menu_order":25,"comment_status":"open","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_tag":[],"class_list":["post-3507","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/3507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/comments?post=3507"}],"version-history":[{"count":2,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/3507\/revisions"}],"predecessor-version":[{"id":3526,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/3507\/revisions\/3526"}],"up":[{"embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/945"}],"next":[{"title":"Sample Code Example","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/developer-guide\/javascript-library\/sample-code-example\/","href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1039"}],"prev":[{"title":"Format Date","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/developer-guide\/javascript-library\/format-date\/","href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1659"}],"wp:attachment":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/media?parent=3507"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/doc_tag?post=3507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}