{"id":1659,"date":"2018-12-19T11:59:22","date_gmt":"2018-12-19T10:59:22","guid":{"rendered":"https:\/\/help.cirrus-shield.com\/docs\/developer-guide\/javascript-library\/format-date\/"},"modified":"2020-01-13T19:47:58","modified_gmt":"2020-01-13T18:47:58","slug":"format-date","status":"publish","type":"docs","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/developer-guide\/javascript-library\/format-date\/","title":{"rendered":"Format Date"},"content":{"rendered":"<section class=\"fw-main-row \">\n<div class=\"fw-container\">\n<div class=\"fw-row\">\n<div class=\"fw-col-xs-12\">\n<p>This function is used to format the date to the following format \u201cyyyy-MM-dd\u201d.<\/p>\n<ul>\n<li><strong><u>Function<\/u><\/strong><u>:<\/u> formatDate(date)<\/li>\n<li><strong><u>Usage<\/u><\/strong><u>: <\/u>formatDate(Quote.Delivery_Date);<\/li>\n<li><strong><u>Output<\/u><\/strong><u>:<\/u> 2018-12-14<\/li>\n<\/ul>\n<\/div>\n<\/div><\/div>\n<\/section>\n<p><!-- 0c49bb92d3d658433d91066ba884aae6 --><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":945,"menu_order":24,"comment_status":"closed","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-1659","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1659","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=1659"}],"version-history":[{"count":2,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1659\/revisions"}],"predecessor-version":[{"id":1663,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1659\/revisions\/1663"}],"up":[{"embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/945"}],"next":[{"title":"Format Date Time","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/developer-guide\/javascript-library\/format-date-time\/","href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/3507"}],"prev":[{"title":"Send Email","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/developer-guide\/javascript-library\/send-email\/","href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1595"}],"wp:attachment":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/media?parent=1659"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/doc_tag?post=1659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}