How to use DATEDIF formula in Zoho Writer

How to use DATEDIF formula in Zoho Writer

Overview 

The DATEDIF function in Zoho Writer allows you to calculate the difference in days, months, or years between two dates. You can insert the DATEDIF function in paragraphs, tables, and merge and fillable templates in Zoho Writer.

Syntax 

=DATEDIF([start_date], [end_date], "unit")
Inputs
Parameter
Description
start_date
The starting date from which the calculation begins. This can be a merge field, or an auto-date field (dynamic today's date or a current date).
end_date
The date up to which the calculation has to be performed. Similar to the start_date, it can be a merge field or an auto date field.
unit (optional)
Specifies the unit (years, months, days, etc.) in which the difference is calculated. If no unit is provided, the default value will be "D" (days).

Supported Units
Unit
Description
"Y"
Calculates the difference in years.
"M"
Calculates the difference in months.
"D"
Calculates the difference in days (default if no unit is specified).
"MD"
Calculates the difference in days, excluding years and months.
"YM"
Calculates the difference in months, excluding years.
"YD"
Calculates the difference in days, excluding years.

Steps 

  1. Click the hamburger icon, go to the Fields tab --> Dynamic Fields --> Formula.
  2. In the New Formula dialog that opens:
    1. Choose the DATEDIF function from the Choose Function drop down and the + icon to select the fields, to configure the desired formula.
    2. Choose the Format Number option to format the formula result.
    3. Click Insert

Note 

  1. D(Days) will be used as the default unit if no unit is specified.
  2. DATEDIF formula returns the difference as an integer.
  3. You can have the start_date and end_date as a merge field or an auto-date field.

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsRetailOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceForms for Solopreneurs
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit
                              Forms for Government
                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic FormsInsurance
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsWufoo alternativeEncrypted Forms
                              Accessible FormsTypeform alternativeSecure Forms

                              WCAG

                                          Create. Review. Publish.

                                          Write, edit, collaborate on, and publish documents to different content management platforms.

                                          Get Started Now






                                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                Manage your brands on social media

                                                                  Use cases

                                                                  Make the most of Zoho Desk with the use cases.

                                                                   
                                                                    

                                                                  eBooks

                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho Desk.

                                                                   
                                                                    

                                                                  Videos

                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho Desk.

                                                                   
                                                                    

                                                                  Webinar

                                                                  Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                                   
                                                                    
                                                                  • Desk Community Learning Series


                                                                  • Meetups


                                                                  • Ask the Experts


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner



                                                                    Zoho Sheet Resources

                                                                     

                                                                        Zoho Forms Resources


                                                                          Secure your business
                                                                          communication with Zoho Mail


                                                                          Mail on the move with
                                                                          Zoho Mail mobile application

                                                                            Stay on top of your schedule
                                                                            at all times


                                                                            Carry your calendar with you
                                                                            Anytime, anywhere




                                                                                  Zoho Sign Resources

                                                                                    Sign, Paperless!

                                                                                    Sign and send business documents on the go!

                                                                                    Get Started Now




                                                                                            Zoho TeamInbox Resources





                                                                                                      Zoho DataPrep Demo

                                                                                                      Get a personalized demo or POC

                                                                                                      REGISTER NOW


                                                                                                        Design. Discuss. Deliver.

                                                                                                        Create visually engaging stories with Zoho Show.

                                                                                                        Get Started Now










                                                                                                                            • Related Articles

                                                                                                                            • Managing Zoho Writer extensions

                                                                                                                              Extend the capabilities of Zoho Writer with extensions from Zoho Marketplace. This user guide will familiarize you with the procedure to install and manage Writer extensions. You can view all available Writer extensions on this page in Zoho ...
                                                                                                                            • How to customize lists in Zoho Writer

                                                                                                                              Overview Lists are a great way to organize content in your documents. In Zoho Writer, you can do more than just create simple bulleted or numbered lists. You can fully customize them. From setting your preferred list style as default to using images ...
                                                                                                                            • Zoho Connect Extension to Post Content From Writer

                                                                                                                              Use the Zoho Connection extension to post inside a forum or a manual within your Organization. Prepare a draft with the Writer editor and post it to Zoho Connect straight away. Make sure you have installed and authorized the Zoho Connect Extension ...
                                                                                                                            • FAQ's on Zoho Writer's ChatGPT extension

                                                                                                                              This extension allows you to seamlessly integrate ChatGPT with Zoho Writer to chat with the bot and use its responses in your content. This guide will take you through the steps needed to: Install the extension Interact with the ChatGPT bot from ...
                                                                                                                            • How to manage your own dictionary in Zoho Writer

                                                                                                                              Overview Zoho Writer gives you complete control over how spelling is checked in your documents. Along with the default dictionary, you can: Create and manage your personal dictionary to add custom words that should not be flagged as spelling errors. ...
                                                                                                                              Wherever you are is as good as
                                                                                                                              your workplace

                                                                                                                                Resources

                                                                                                                                Videos

                                                                                                                                Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                eBooks

                                                                                                                                Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                Webinars

                                                                                                                                Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                CRM Tips

                                                                                                                                Make the most of Zoho CRM with these useful tips.



                                                                                                                                  Zoho Show Resources