{"id":3778,"date":"2019-02-12T16:09:53","date_gmt":"2019-02-12T16:09:53","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/usage-help-manual\/1-utilities-and-user-commands\/mkdate\/"},"modified":"2026-02-12T13:18:41","modified_gmt":"2026-02-12T18:18:41","slug":"mkdate","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/11-utilities-and-user-commands\/mkdate\/","title":{"rendered":"mkdate"},"content":{"rendered":"<h3>Purpose:<\/h3>\n<dl>\n<dd>\n<p>Save a date\/time value to a specified CyFlex string variable:<\/p>\n<p>1. If two arguments are specified, this program sit sets the first variable to the date\/time value from the second CyFlex real variable formatted as an XML string.<br \/>\n2. If only one argument is specified, the variable is set to the current date and time in XML format.<\/p>\n<\/dd>\n<\/dl>\n<h3>Enter:<\/h3>\n<dl>\n<dd>\n<p><strong>mkdate<\/strong> &lt;variableName1&gt; [variableName2]<\/p>\n<\/dd>\n<\/dl>\n<h3>Where:<\/h3>\n<dl>\n<dd>\n<div>\n<table cellspacing=\"0\" cellpadding=\"0\">\n<colgroup>\n<col \/>\n<col \/> <\/colgroup>\n<tbody>\n<tr>\n<td>\n<p>variableName1<\/p>\n<\/td>\n<td>\n<p>Specify the CyFlex variable on which to store the date and time string.<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p>variableName2<\/p>\n<\/td>\n<td>\n<p>Optional. Specify the CyFlex real variable from where the date and time value is retrieved.\u00a0<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/dd>\n<\/dl>\n<h3>Example:<\/h3>\n<dl>\n<dd>\n<p><strong>mkdate<\/strong> HcAmbRdTS<br \/>\nThe above command sets the value of the HcAmbRdTS variable to the current date and time string in xml format.<\/p>\n<p><strong>mkdate<\/strong> HcAmbRdTS BenchLkckTS<br \/>\nThe above command sets the value of the HcAmbRdTS variable to the date and time string of the value of BenchLkckTS in xml format.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dd>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n<h3>See Also:<\/h3>\n<dl>\n<dd>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: Save a date\/time value to a specified CyFlex string variable: 1. If two arguments are specified, this program sit sets the first variable to the date\/time value from the second CyFlex real variable formatted as an XML string. 2. If only one argument is specified, the variable is set to the current date and [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1948,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3778","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=3778"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/3778\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1948"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=3778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}