Capture Last check-in date & days since

Capture Last check-in date & days since


I have two custom fields on my Account form, these are "Date of Last Check-In" and "Days Since Last Contact"


Using a custom function how can I pull the date from the last check-in and display it in the field "Date of Last Check-In"? and then also display the number of days since last check-in in the "Days SInce Last Contact" field?

I tried following a couple of examples but got myself into a bit of a muddle!

    Access your files securely from anywhere


                  Zoho FSM Video Tutorials


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






                                              Zoho Developer Community




                                                                    • Desk Community Learning Series


                                                                    • Digest


                                                                    • Functions


                                                                    • Meetups


                                                                    • Kbase


                                                                    • Resources


                                                                    • Glossary


                                                                    • Desk Marketplace


                                                                    • MVP Corner


                                                                    • Word of the Day


                                                                    • Ask the Experts



                                                                              • Sticky Posts

                                                                              • Function #46: Auto-Calculate Sales Margin on a Quote

                                                                                Welcome back everyone! Last week's function was about displaying the discount amount in words. This week, it's going to be about automatically calculating the sales margin for a particular quote, sales order or an invoice. Business scenario Where there is sales, there's also evaluation and competition between sales reps. A healthy rivalry helps to better motivate your employees to do smart work and close deals faster and more efficiently. But how does a sales rep get evaluated? 90% of the time, it's
                                                                              • Zoho CRM Functions 53: Automatically name your Deals during lead conversion.

                                                                                Welcome back everyone! Last week's function was about automatically updating the recent Event date in the Accounts module. This week, it's going to be about automatically giving a custom Deal name whenever a lead is converted. Business scenario Deals are the most important records in CRM. After successful prospecting, the sales cycle is followed by deal creation, follow-up, and its subsequent closure. Being a critical function of your sales cycle, it's good to follow certain best practices. One such
                                                                              • User Tips: Auto-Create Opportunity/Deal upon Quote Save (PART 1)

                                                                                Problem: We use quotes which convert to sales orders but Users / Sales Reps do not create opportunities / deals and go straight to creating a quote. This leads to poor reporting. Implementing this solution improves reporting and makes it easier for users.
                                                                              • Custom Function : Automatically send the Quote to the related contact

                                                                                Scenario: Automatically send the Quote to the related contact.  We create Quotes for customers regularly and when we want to send the quote to the customer, we have to send it manually. We can automate this, using Custom Functions. Based on a criteria, you can trigger a workflow rule and the custom function associated to the rule and automatically send the quote to customer through an email. Please note that the quote will be sent as an inline email content and not as a PDF attachment. Please follow
                                                                              • Function #50: Schedule Calls to records

                                                                                Welcome back everyone! Last week's function was about changing ownership of multiple records concurrently. This week, it's going to be about scheduling calls for records in various modules. Business scenario Calls are an integral part of most sales routines.. Sales, Management, Support, all the branches of the business structure would work in cohesion only through calls. You could say they are akin to engine oil, which is required by the engine to make all of it's components function perfectly. CRM


                                                                              Manage your brands on social media



                                                                                    Zoho TeamInbox Resources



                                                                                        Zoho CRM Plus Resources

                                                                                          Zoho Books Resources


                                                                                            Zoho Billing Resources

                                                                                              Zoho Projects Resources


                                                                                                Zoho Sprints Resources


                                                                                                  Qntrl Resources


                                                                                                    Zoho Creator Resources



                                                                                                        Zoho CRM Resources

                                                                                                        • CRM Community Learning Series

                                                                                                          CRM Community Learning Series


                                                                                                        • Kaizen

                                                                                                          Kaizen

                                                                                                        • Functions

                                                                                                          Functions

                                                                                                        • Meetups

                                                                                                          Meetups

                                                                                                        • Kbase

                                                                                                          Kbase

                                                                                                        • Resources

                                                                                                          Resources

                                                                                                        • Digest

                                                                                                          Digest

                                                                                                        • CRM Marketplace

                                                                                                          CRM Marketplace

                                                                                                        • MVP Corner

                                                                                                          MVP Corner






                                                                                                            Design. Discuss. Deliver.

                                                                                                            Create visually engaging stories with Zoho Show.

                                                                                                            Get Started Now


                                                                                                              Zoho Show Resources

                                                                                                                Zoho Writer

                                                                                                                Get Started. Write Away!

                                                                                                                Writer is a powerful online word processor, designed for collaborative work.

                                                                                                                  Zoho CRM コンテンツ


                                                                                                                    Nederlandse Hulpbronnen


                                                                                                                        ご検討中の方




                                                                                                                                  • Recent Topics

                                                                                                                                  • Zoho Books Sandbox environment

                                                                                                                                    Hello. Is there a free sandbox environment for the developers using Zoho Books API? I am working on the Zoho Books add-on and currently not ready to buy a premium service - maybe later when my add-on will start to bring money. Right now I just need a
                                                                                                                                  • Action required: Authenticate your sender domain in Zoho Marketing Automation before December 14, 2026

                                                                                                                                    Starting December 14, 2026, Zoho Marketing Automation will enforce a daily sending cap for unauthenticated custom sender domains. If you're sending email campaigns from your own domain but haven't authenticated it yet, you'll only be able to send up to
                                                                                                                                  • Ask the Expert: Unlock the Power of AI and Zia Agents in Zoho CRM

                                                                                                                                    Are you using Zoho CRM to manage your sales processes and customer relationships, and wondering how AI can help you work smarter, automate more, and take your CRM capabilities to the next level? We have great news: the “Ask the Expert” session is coming
                                                                                                                                  • What's new in Zoho Desk 2026 - A decade of ideas brought to life

                                                                                                                                    Hello everyone, 2026 marks a special milestone for us as we celebrate 10 years of Zoho Desk. A decade into business, there is always something new to keep up with, new expectations to meet, and new ways to make customer support better. Zoho Desk continues
                                                                                                                                  • Manual categorisation of bank transactions

                                                                                                                                    Good Day I am hoping someone here can assist me. I have a lot of catching up to do with some bank transactions. I imported all my bank statements manually. Where possible i created a rule to have the transactions auto categorised. However there are some
                                                                                                                                  • Idea: Upload your own letterhead and design PDF templates freely (like Lexware Office and sevDesk)

                                                                                                                                    Your own letterhead on every invoice and quote, uploaded in two clicks, no HTML, no public image links. Tools like Lexware Office (formerly lexoffice) and sevDesk already offer this. Zoho Books is more powerful in almost every other way, so let's close
                                                                                                                                  • Sorting of invoices keeps changing

                                                                                                                                    Hi there, I log into Zoho invoice around 2-3 times a week. Usually I sort my invoice list by "Date created". Every now and again when I log in, this sorting criteria has changed. It's not clear to what criteria it is changing and how/why, but I find it a little annoying not seeing the latest invoices at the top. Can you please look into this and make sure the sorting function is stored in a cookie or on the server? Thanks, Kai
                                                                                                                                  • Feature Request: Add Sort by Cell Color and Text Color functionality

                                                                                                                                    Hello Zoho Sheet Development Team, I am writing to suggest a feature enhancement for Zoho Sheet. Currently, the platform supports "Filter by Color," which is incredibly useful. However, there is no native option to "Sort by Color" (by cell fill or text
                                                                                                                                  • Multi-Day Installations

                                                                                                                                    We schedule technicians on multi-day installations. A single appointment from Monday 8 AM through Friday 5 PM counts as 105 working hours, causing false overbooking. We need one appointment spanning five days but only 40 hours counted toward technician
                                                                                                                                  • Rebrand your CRM with the all-new custom domain mapping setup

                                                                                                                                    UPDATES TO THIS FEATURE! 19th Jan, 2024 — Custom domain mapping has been made available for portal users in Zoho One and CRM Plus. 23rd June, 2023 — Custom domain mapping has been made available for all users, in all DCs. Hello everyone! We are elated
                                                                                                                                  • How to manage additional required address information for Customers and Vendors.

                                                                                                                                    Has anybody figured out a way to incorporate relevant delivery information in the limited address fields for customers and vendors? For example, most carriers have an additional 'delivery instructions' field to add important information like delivery
                                                                                                                                  • Action required: Authenticate your sender domain before December 14, 2026

                                                                                                                                    Starting December 14, 2026, Zoho Campaigns will enforce a daily sending cap for unauthenticated custom sender domains. If you're sending email campaigns from your own domain but haven't authenticated it yet, you'll only be able to send up to 5,000 emails
                                                                                                                                  • Change default "Sort by"

                                                                                                                                    Is there a way to change the default "sort by" when searching across modules?" in Zoho CRM? Currently the default sort method is "Modified time" but i would like to utilize the second option of "relevance" as the sort by default and not have to change
                                                                                                                                  • Enhanced access controls and smoother authentication for organization emails

                                                                                                                                    Available to customers in all DCs. Hello everyone, We've improved how organization emails work in Zoho CRM, which are used when multiple users need to send emails from a common address, like sales@company.com or support@company.com. Admins can set up
                                                                                                                                  • Error AS101 when adding new email alias

                                                                                                                                    Hi, I am trying to add apple@(mydomain).com The error AS101 is shown while I try to add the alias.
                                                                                                                                  • Transaction rules for "Owner's Contribution" ?

                                                                                                                                    I have a bank account where a lot of the deposits are "Owner's Contributions" (i.e., the business owner investing money in the company). Is it possible to create a Transaction Rule to automatically recognize these? They all have the same verbiage from
                                                                                                                                  • Print a price list or price book

                                                                                                                                    Hi Community. Am I right in concluding that Zoho has no functionality to print a price list from either Zoho CRM, Zoho Inventory or Zoho Books? I won't get stuck on the fact that Zoho doesn't sync price books between Zoho CRM and Books/Inventory (more
                                                                                                                                  • The Social Wall: October 2026

                                                                                                                                    Hello everyone This month, we're making it easier to organize your monitoring workspace with Monitor Groups in Zoho Social. Organize your monitor columns into groups You can now organize your monitor columns into custom groups based on your preferences.
                                                                                                                                  • Field of Lookup - 5 Field Association Limit.

                                                                                                                                    This query relates to the post at: https://help.zoho.com/portal/en/community/topic/introducing-the-field-of-lookup-in-crm-public-early-access-2023 My simple (and common) scenario: I select an account / customer lookup and want their address pulled into
                                                                                                                                  • Feature Request - Electronic submission of tax returns in Canada

                                                                                                                                    Allow the user to submit Canada Revenue Agency GST/HST returns with NETFILE. Provide the same functionality for provincial revenue agencies for PST/RST remittances. Today Zoho Books only provides the math required to calculate each line, requiring the
                                                                                                                                  • Ability to translate Zoho CRM Kiosks

                                                                                                                                    Hi team, Is support for translating kiosk text and screen names in the Zoho CRM translation tool planned on the roadmap? Thanks,
                                                                                                                                  • Files in Teamspaces: keep your team's documents where the work happens

                                                                                                                                    Release Note: This feature is available for all accounts across all DCs Hello Everyone, A Teamspace is built around a specific team and a shared objective, and it holds the modules and projects that team works with every day. The document that team depends
                                                                                                                                  • How to download multiple files in Creator?

                                                                                                                                    I'm trying to download multiple files from a creator report using a for loop but it only seems to be downloading one file. It seems like no more code can be run after downloading this one file. Is there a way to download multiple files? I'm currently
                                                                                                                                  • Request for Zoho Desk Version and Module Details

                                                                                                                                    Kindly help us confirm the version of Zoho Desk currently being used in our portal, along with the module/edition name. We require this information urgently for our internal documentation.
                                                                                                                                  • ZohoMail_get_mail_attachment corrupts binary attachments (PDFs) over MCP

                                                                                                                                    Hi all, The Zoho Mail MCP tool ZohoMail_get_mail_attachment returns binary attachments as UTF-8 text, so PDFs come back corrupted and an AI client can't read or save them. What we see: - The response header is content-type: application/octet-stream;charset=UTF-8.
                                                                                                                                  • Request: Custom CSS Theme

                                                                                                                                    I would really like a custom CSS theme that enables me to completely customize the look and feel of the survey page based on the typography of my company brand. Unfortunately, there does not appear to be complete customization with existing themes. This
                                                                                                                                  • Découvrez le nouveau Zoho Analytics : l’analytique agentique pour toutes les entreprises

                                                                                                                                    Nous sommes ravis de vous annoncer le lancement du tout nouveau Zoho Analytics ! Cette nouvelle version marque un tournant majeur dans l’évolution de la plateforme. Initialement conçue comme une solution de BI en libre-service permettant de créer des
                                                                                                                                  • Zia Agents in Zoho CRM: a better way to set up digital employees

                                                                                                                                    Hello everyone, If you've been using Zia Agents in Zoho CRM, so far using Connections was the only deployment method you're familiar with. You create an agent in Zia Agents (define its objective, write instructions, use tools, add knowledge base) and
                                                                                                                                  • Admin Logging in as another User

                                                                                                                                    How can a Super Admin login as another user. For example, I have a sales rep that is having issues with their Accounts and I want to view their Zoho Account with out having to do a GTM and sharing screens. Latest Update (27th April 2026): With the early
                                                                                                                                  • Tool Parameter UI - Freeze Header

                                                                                                                                    When one has a number of tools with a number of parameters, scrolling down hides the heading information, forcing one to scroll back up to get confirmation which radio button is which: Seems like simply freezing the header would eliminate that issue.
                                                                                                                                  • Cannot replace custom tools

                                                                                                                                    This is so incredibly frustrating. Create a tool group. Add your custom schema to create your custom tools. Attach to an Agent. Now you need to update your schema to make an adjustment? You can't edit the schema or even re-upload a new schema. It blocks
                                                                                                                                  • Testing Tools - Can't View Response

                                                                                                                                    When adding a custom tool and trying to test it, one can see whether or not the test has a successful http response, but the actual payload cannot be viewed to verify the tool's performance. I thought that's what the little hover link was for, but mousing
                                                                                                                                  • Unbundle feature for composite items

                                                                                                                                    We receive composite items from our vendors and sell them either individually or create other composite items out of them. So, there is a lot of bundling and unbundling involved with our composite items. Previously, this feature was supported in form
                                                                                                                                  • Quick Reference Guide on join.zoho.com

                                                                                                                                    Joining a remote session can be difficult for the people who need it the most. Please add a quick reference guide and better documentation that my Grandma can read on the join.zoho.com site. It's not uncommon to spend 10minutes or longer in a session
                                                                                                                                  • Times prepopulating in Date/Time field on deal records

                                                                                                                                    Support tells me that there is no workaround to having the time auto-fill on a date/time field in our deal records -- that is HUGELY inconvenient and creates massive opportunity for error. Our deals involve several parts over various days/times, none
                                                                                                                                  • Making shared forms available offline

                                                                                                                                    Hi, We used to be able to have our forms available offline even if it was a shared form. now we can't. Is this a new bug?
                                                                                                                                  • Zoho Forms API

                                                                                                                                    Is there any way to get all form entry list using API? Looking forward to hear from you
                                                                                                                                  • Documents greater than 40MB Preview

                                                                                                                                    hello, Documents bigger than 40 MB cannot be previewed in WorkDrive Web App or Mobile App. would it be resolved in future?
                                                                                                                                  • Calendar Booking - Related Deal

                                                                                                                                    Is it possible to automatically associate a Calendar Booking with an existing Deal in Zoho CRM? We're trying to use the native Calendar Booking feature. Our goal is to send a booking link to a customer from an existing Deal record, so that when the customer
                                                                                                                                  • Approval Process configuration is now more flexible and fully customizable

                                                                                                                                    Hello everyone! Approval Process is back with a better user experience that makes it easier to add rules to your processes. This enhancement includes some UI updates that help you create highly structured approval stages—and more. Let's look at the enhancements
                                                                                                                                  • Next Page