{"id":381804,"date":"2026-10-12T20:24:18","date_gmt":"2026-10-12T20:24:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/date-math-for-forminator\/"},"modified":"2026-10-14T10:53:52","modified_gmt":"2026-10-14T10:53:52","slug":"dayquanta-date-difference-for-forminator","status":"publish","type":"plugin","link":"https:\/\/pl.wordpress.org\/plugins\/dayquanta-date-difference-for-forminator\/","author":23576091,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.1","stable_tag":"1.0.1","tested":"7.1.3","requires":"6.5","requires_php":"8.2","requires_plugins":null,"header_name":"DayQuanta Date Difference for Forminator","header_author":"Roberto Liccardo","header_description":"Calculate secure date differences in Forminator forms. Turn two Datepicker fields into nights or calendar days for bookings and quotes.","assets_banners_color":"","last_updated":"2026-10-14 10:53:52","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":89,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"robertoliccardo","date":"2026-10-12 20:23:52","revision":3742470},"1.0.1":{"tag":"1.0.1","author":"robertoliccardo","date":"2026-10-14 10:53:52","revision":3746086}},"upgrade_notice":{"1.0.1":"<p>The Forminator submenu is now labelled DayQuanta.<\/p>","1.0.0":"<ul>\n<li>First public release of DayQuanta Date Difference for Forminator.<\/li>\n<\/ul>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3742484,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3742484,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3745989,"resolution":"1","location":"assets","locale":"","width":1097,"height":1052},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3745989,"resolution":"2","location":"assets","locale":"","width":1072,"height":352},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3745989,"resolution":"3","location":"assets","locale":"","width":695,"height":368}},"screenshots":{"1":"Configure a Date Difference rule by selecting a Forminator form, two Datepicker fields, and the result field.","2":"Review configured Date Difference rules and see their current status.","3":"Visitors select a check-in and check-out date and immediately see the calculated number of nights."}},"plugin_section":[],"plugin_tags":[273958,214078,286262,2228,184701],"plugin_category":[],"plugin_contributors":[286263],"plugin_business_model":[],"class_list":["post-381804","plugin","type-plugin","status-publish","hentry","plugin_tags-booking-forms","plugin_tags-date-calculator","plugin_tags-date-difference","plugin_tags-datepicker","plugin_tags-forminator","plugin_contributors-robertoliccardo","plugin_committers-robertoliccardo"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/dayquanta-date-difference-for-forminator\/assets\/icon-128x128.png?rev=3742484","icon_2x":"https:\/\/ps.w.org\/dayquanta-date-difference-for-forminator\/assets\/icon-256x256.png?rev=3742484","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/dayquanta-date-difference-for-forminator\/assets\/screenshot-1.png?rev=3745989","caption":"Configure a Date Difference rule by selecting a Forminator form, two Datepicker fields, and the result field."},{"src":"https:\/\/ps.w.org\/dayquanta-date-difference-for-forminator\/assets\/screenshot-2.png?rev=3745989","caption":"Review configured Date Difference rules and see their current status."},{"src":"https:\/\/ps.w.org\/dayquanta-date-difference-for-forminator\/assets\/screenshot-3.png?rev=3745989","caption":"Visitors select a check-in and check-out date and immediately see the calculated number of nights."}],"raw_content":"<!--section=description-->\n<p>DayQuanta Date Difference for Forminator adds reliable date difference calculations to Forminator forms. Connect two existing Datepicker fields to a Number or Hidden field, then calculate nights or calendar days for bookings, rentals, appointments, parking, service periods, and quotes.<\/p>\n\n<p>Visitors see the result update as they choose dates. On every submission, the plugin performs the calculation again on the server, so a value changed in the browser is never trusted. The calculated result can also be used by Forminator Calculation fields.<\/p>\n\n<p>Create one Date Difference rule for each Forminator form. Choose Nights, Calendar Days, or Calendar Days including the end date, and set a clear message when the end date is before the start date.<\/p>\n\n<p>The plugin does not edit WordPress or Forminator files. Create the fields in Forminator, then connect them in Forminator &gt; DayQuanta.<\/p>\n\n<p>DayQuanta Date Difference for Forminator is an independent extension for Forminator and is not affiliated with or endorsed by WPMU DEV.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin ZIP in Plugins &gt; Add New &gt; Upload Plugin.<\/li>\n<li>Activate DayQuanta Date Difference for Forminator and make sure Forminator is active.<\/li>\n<li>In Forminator, create a form with two Datepicker fields and one Number or Hidden field.<\/li>\n<li>Open Forminator &gt; DayQuanta, choose the form and connect the fields.<\/li>\n<li>Choose the calculation mode and save the rule.<\/li>\n<\/ol>\n\n<p>The two selected Datepicker fields must use the same date format.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20plugin%20modify%20forminator%3F\"><h3>Does this plugin modify Forminator?<\/h3><\/dt>\n<dd><p>No. It uses Forminator's normal plugin integration points and does not modify Forminator or WordPress files.<\/p><\/dd>\n<dt id=\"which%20forminator%20fields%20can%20i%20use%3F\"><h3>Which Forminator fields can I use?<\/h3><\/dt>\n<dd><p>Choose two supported Forminator Datepicker fields with the same format. The result can be written to an existing Number or Hidden field in the same form.<\/p><\/dd>\n<dt id=\"which%20date%20calculations%20are%20available%3F\"><h3>Which date calculations are available?<\/h3><\/dt>\n<dd><p>Choose Nights, Calendar Days, or Calendar Days including the end date. For example, a stay from 10 June to 13 June is 3 nights, 3 calendar days, or 4 calendar days including both dates.<\/p><\/dd>\n<dt id=\"is%20the%20calculation%20secure%3F\"><h3>Is the calculation secure?<\/h3><\/dt>\n<dd><p>Yes. The browser updates the visible result for convenience, but the server calculates it again on submission. A value altered in the browser is not trusted.<\/p><\/dd>\n<dt id=\"what%20happens%20if%20i%20change%20a%20field%20after%20saving%20the%20rule%3F\"><h3>What happens if I change a field after saving the rule?<\/h3><\/dt>\n<dd><p>If a configured field is removed, changes type, changes date format, or its form is no longer published, the rule is marked Needs review and does not run until you review and save it again.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20i%20uninstall%20the%20plugin%3F\"><h3>What happens when I uninstall the plugin?<\/h3><\/dt>\n<dd><p>The rule configuration is kept so it is available if you reactivate the plugin. The plugin does not store its own form submissions.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20ajax-enabled%20forminator%20forms%3F\"><h3>Does it work with AJAX-enabled Forminator forms?<\/h3><\/dt>\n<dd><p>Yes. The visible result updates in the browser, and the server validates and recalculates it when Forminator receives the submission.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Renamed the Forminator submenu to DayQuanta for clearer navigation.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First public release.<\/li>\n<li>Secure Date Difference rules for Forminator Datepicker fields.<\/li>\n<li>Live result updates and server-side recalculation on submission.<\/li>\n<li>Nights and calendar-day calculation modes.<\/li>\n<li>Dashboard link from the WordPress Plugins screen to the configuration wizard.<\/li>\n<\/ul>","raw_excerpt":"Calculate secure date differences in Forminator forms. Turn two Datepicker fields into nights or calendar days for bookings and quotes.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/381804","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=381804"}],"author":[{"embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/robertoliccardo"}],"wp:attachment":[{"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=381804"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=381804"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=381804"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=381804"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=381804"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=381804"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}