{"id":3856,"date":"2016-01-26T21:25:45","date_gmt":"2016-01-26T21:25:45","guid":{"rendered":"https:\/\/alt2.minisoft.com\/support\/?p=3856"},"modified":"2017-01-29T23:10:43","modified_gmt":"2017-01-29T23:10:43","slug":"add-the-time-and-date-to-a-form","status":"publish","type":"post","link":"https:\/\/minisoft.com\/support\/add-the-time-and-date-to-a-form\/","title":{"rendered":"Add the Time and Date to a Form"},"content":{"rendered":"<p>You can add the time and date to a form in just a few minutes. The steps are in three parts:<\/p>\n<ol>\n<li>Create a variable.<\/li>\n<li>Set the value.<\/li>\n<li>Place it on your form with a rule.<\/li>\n<\/ol>\n<p><strong>Create a variable<\/strong><\/p>\n<ol>\n<li>Make a backup copy of your project.<\/li>\n<li>Open the project in the eFORMz Composer.<\/li>\n<li>Create a variable by right clicking the form where you want to add the time and date &gt; Add Variable &gt; By position.<\/li>\n<li>In the Variable window, type a name and click OK.<img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-3863 aligncenter\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate1-300x212.jpg\" alt=\"TimeAndDate1\" width=\"300\" height=\"212\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate1-300x212.jpg 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate1-150x106.jpg 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate1-250x176.jpg 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate1-255x180.jpg 255w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate1-425x300.jpg 425w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate1.jpg 435w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<\/ol>\n<p><strong>Set the value<\/strong><\/p>\n<p>This example sets a variable to the time and date in medium-length formats. The time and date values are separated with a constant.<\/p>\n<ol>\n<li>Right click the variable &gt; Add Function &gt; Set value.<\/li>\n<li>In the Set Value window, click Variable and select Curent Time (Medium). Time and date values are available in the following formats:<br \/>\n<table>\n<tbody>\n<tr>\n<td><strong>Format<\/strong><\/td>\n<td><strong>Time<\/strong><\/td>\n<td><strong>Date<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>Short<\/strong><\/td>\n<td style=\"text-align: right;\">11:34 AM<\/td>\n<td style=\"text-align: right;\">3\/25\/16<\/td>\n<\/tr>\n<tr>\n<td><strong>Medium<\/strong><\/td>\n<td style=\"text-align: right;\">11:34:26 AM<\/td>\n<td style=\"text-align: right;\">Mar 25, 2016<\/td>\n<\/tr>\n<tr>\n<td><strong>Long<\/strong><\/td>\n<td style=\"text-align: right;\">11:34:26 AM PST<\/td>\n<td style=\"text-align: right;\">March 25, 2016<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<li>Click OK.<\/li>\n<li>Right click the variable &gt; Concatenate.<\/li>\n<li>Click Constant, and add spaces or text to separate the time value from the date value. This example uses space-hyphen-space, &#8221; &#8211; &#8220;. Click OK.<\/li>\n<li>Right click the variable &gt; Concatenate.<\/li>\n<li>Click Variable and select Current Date (Medium). Click OK.<img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-3864 aligncenter\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate2-300x216.jpg\" alt=\"TimeAndDate2\" width=\"300\" height=\"216\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate2-300x216.jpg 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate2-150x108.jpg 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate2-250x180.jpg 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate2-210x150.jpg 210w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate2.jpg 331w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<\/ol>\n<p>The variable now has a value that includes the current time and date, like this:<\/p>\n<pre>11:34:23 AM - Mar 25, 2016<\/pre>\n<p><strong>Place the variable on the form<\/strong><\/p>\n<ol>\n<li>Right click the form &gt; Add Rule &gt; Place Text.<\/li>\n<li>Name the rule and select the variable you created. A good practice is to use the variable name in the rule name to make it easier to find. Click OK.<img decoding=\"async\" loading=\"lazy\" class=\"size-medium wp-image-3867 aligncenter\" src=\"https:\/\/alt2.minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate3-2-300x133.jpg\" alt=\"TimeAndDate3\" width=\"300\" height=\"133\" srcset=\"https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate3-2-300x133.jpg 300w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate3-2-150x66.jpg 150w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate3-2-250x111.jpg 250w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate3-2-407x180.jpg 407w, https:\/\/minisoft.com\/support\/wp-content\/uploads\/2016\/01\/TimeAndDate3-2.jpg 477w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/li>\n<li>Specify the text color, orientation, and font properties. Specify the location to place the variable on the form in the Horizontal position and Vertical position fields. The values are in decipoints. An inch has 720 decipoints. The origin (0,0) is the top left.<\/li>\n<li>Click OK and find the value. You can drag the value to position precisely on the form.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can add the time and date to a form in just a few minutes. The steps are in three parts: Create a variable. Set the value. Place it on your form with a rule. Create a variable Make a backup copy of your project. Open the project in the eFORMz Composer. Create a variable [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3856"}],"collection":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/comments?post=3856"}],"version-history":[{"count":6,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3856\/revisions"}],"predecessor-version":[{"id":3868,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/posts\/3856\/revisions\/3868"}],"wp:attachment":[{"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/media?parent=3856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/categories?post=3856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/minisoft.com\/support\/wp-json\/wp\/v2\/tags?post=3856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}