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. Go to the Fields tab --> 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 FormsEnterpriseOnline Data Collection Tool
                                Embeddable FormsBankingBegin Data Collection
                                Interactive FormsWorkplaceData Collection App
                                CRM FormsCustomer ServiceAccessible Forms
                                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

                                Intake FormsLegal
                                Mobile App
                                Form DesignerHR
                                Mobile Forms
                                Card FormsFoodOffline Forms
                                Assign FormsPhotographyMobile Forms Features
                                Translate FormsReal EstateKiosk in Mobile Forms
                                Electronic Forms
                                Drag & drop form builder

                                Notification Emails for FormsAlternativesSecurity & Compliance
                                Holiday FormsGoogle Forms alternative GDPR
                                Form to PDFJotform alternativeHIPAA Forms
                                Email FormsFormstack alternativeEncrypted Forms

                                Wufoo alternativeSecure Forms

                                TypeformWCAG

                                  Zoho FSM Video Tutorials


                                        All-in-one knowledge management and training platform for your employees and customers.

                                                  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


                                                                          • Desk Community Learning Series


                                                                          • Digest


                                                                          • Functions


                                                                          • Meetups


                                                                          • Kbase


                                                                          • Resources


                                                                          • Glossary


                                                                          • Desk Marketplace


                                                                          • MVP Corner


                                                                          • Word of the Day


                                                                          • Ask the Experts


                                                                            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

                                                                                                                                    • Understanding formulae supported in Zoho Writer

                                                                                                                                      Zoho Writer supports a wide range of formulas to perform calculations in your documents. You can add formulas in paragraphs, tables, and merge and fillable templates in Zoho Writer. List of formula categories supported in Zoho Writer: Array Aggregate ...
                                                                                                                                    • FAQ: Zoho Writer Desktop App

                                                                                                                                      General Q1. Is the desktop app free? Yes. The app itself is free to download and use. You only need a Zoho account if you want to sync, store, and share files in the cloud. Q2. How is the desktop app different from the web version? The desktop app ...
                                                                                                                                    • Getting Started with Zoho Writer desktop app

                                                                                                                                      1. Overview Writer’s desktop app is a cross-platform word processor (Windows, macOS, Linux) that lets you create, edit, and manage documents both locally and in the cloud. Key features include: Open and edit your existing MS Word (DOCX) files without ...
                                                                                                                                    • How to use the tools in Zoho Writer

                                                                                                                                      Overview This article describes the various utility features available under the Tools tab in Zoho Writer. Among the highlighted capabilities are: Editing options: Features like Focus Typing (blurs other content so you can focus on the current ...
                                                                                                                                    • How to create and merge labels in Zoho Writer

                                                                                                                                      Overview Zoho Writer's label templates allow you to create professional, personalized, ready-to-print labels in Avery or custom specs in just a few clicks. You can create address, shipping, return address, and event badge labels. You can also define ...
                                                                                                                                      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