Duration formats supported in Zoho DataPrep

Duration formats supported in Zoho DataPrep

Duration is the difference between two time values. A duration format can be formed using different format strings such as D, H, SSSSSS, etc.  

Zoho DataPrep supports the following format strings:

Format String

Description

Range

D

Indicates the Days

0 to 36500000

H

Indicates the Hours 

00 to 23

Note: The range for duration in hours is 0 to 876000000

m

Indicates the Minutes

00 to 59

s

Indicates the Seconds

00 to 59

Note: The range for duration in seconds is 0 to 3153600000000

SSS

Indicates the Milliseconds

00 to 999

SSSSSS

Indicates the Microseconds

0 to 999999


You can also construct your own duration formats using the formats strings and delimiters. You can select a predefined format, choose to modify it, or create formats in the Change duration format, and Change data type transforms. You can use the % symbol to separate the format strings.

For example, %D.%H:%m:%s.%SSSSSS where %D is number of days, %H is number of hours, %m is number of minutes, %s is number of seconds, and %SSSSSS is number of microseconds. You can add any literals and delimiters in the duration formats. For example, in the duration, 201 jours 11.12.21, the days literal is used in French and a dot(.) is used as a delimiter.



Supported duration formats

Zoho DataPrep supports a wide range of duration formats. Here are a few examples of the supported duration formats in DataPrep.

Duration only

Formats

Examples

%H:%m:%s

301.21:12:00

%H:%m:%s.%SSS

301.21:12:00.321

%H:%m:%s.%SSSSSS

201 11:12:21.000001

%H hrs %m mins %s secs

11 hrs 12 mins 21 secs

%H hours %m minutes %s seconds %SSSSSS

1 hours 2 minutes 1 seconds 910001

%s

222222345678

%s.%SSS

1234523.156

%s.%SSSSSS

12345.999999


Duration with days

Formats

Example

%D %H:%m:%s

201 11:12:21

%D %H:%m:%s.%SSS

201 11:12:21.91

%D days %H:%m:%s.%SSSSSS

201 days 11:12:21.000111

%D days %H hrs %m mins %s secs

201 days 11 hrs 12 mins 21 secs

%D days %H hrs %m mins %s secs %SSS

10092 days 11 hrs 12 mins 21 secs 901

%D days %H hours %m minutes %s seconds %SSSSSS

12 days 1 hours 2 minutes 1 seconds 910001

%D days %H hours %m minutes %s seconds %SSS

12 days 1 hours 2 minutes 1 seconds 910


Note: Only the predefined formats displayed under the Duration only and Duration with days sections will be auto inferred on import. However, you can create your own formats using the available formats strings. Click here to know how to create duration formats.

Invalid duration formats

A duration format is invalid if one or more of the following conditions are not met:
  1. The format cannot be empty. 
  2. You can use a string only once in a format. 
    1. For example, in the duration format, 301.201.21:12:00, the duration is repeated twice which makes it an invalid duration format. 
  3. You can use either microsecond or millisecond in a duration format and not both.
    1. For example, in the duration format, 12 days 1 hours 2 minutes 1.911 seconds 1.910001 seconds, both microseconds and milliseconds are used which renders it an invalid duration format.

SEE ALSO
Data types supported in Zoho DataPrep

    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 Links Workflow Automation Data Collection
                          Web Forms Enterprise Begin Data Collection
                          Interactive Forms Workplace Data Collection App
                          Offline Forms Customer Service Accessible Forms
                          Digital Forms Marketing Forms for Small Business
                          HTML Forms Education Forms for Enterprise
                          Contact Forms E-commerce Forms for any business
                          Lead Generation Forms Healthcare Forms for Startups
                          Wordpress Forms Customer onboarding Order Forms for Small Business
                          No Code Forms Construction RSVP tool for holidays
                          Free Forms Travel
                          Prefill Forms Non-Profit

                          Intake Forms Legal

                          Form Designer HR

                          Card Forms Food
                          Assign Forms Photography

                          Translate Forms Real Estate
                          Electronic Forms

                          Notification Emails for Forms Alternatives
                          Holiday Forms Google Forms alternative 
                          Form to PDF Jotform alternative





                                            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

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      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 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

                                                                                                              • Data types supported in Zoho DataPrep

                                                                                                                Data type is a key attribute associated with a column using which the valid and invalid data are classified and data quality is calculated. In Zoho DataPrep, there are a variety of data types to suit your needs, but they are all built upon a few ...
                                                                                                              • Change duration format

                                                                                                                Duration is the difference between two time values. DataPrep offers a wide range of duration formats to choose from. You can choose to apply any of the predefined duration format from the template. To change the duration format 1. Right-click the ...
                                                                                                              • Zoho DataPrep - FAQs

                                                                                                                1. What is Zoho DataPrep? Zoho DataPrep is an advanced self-service data preparation tool that helps organizations model, cleanse, prepare, enrich and organize large volumes of data from multiple data sources to serve data analytics and data ...
                                                                                                              • Encryption at Zoho DataPrep

                                                                                                                Encryption is primarily used to safeguard the contents of a message so that only the intended recipient could read it. This is done by replacing the contents with unrecognizable data, which could be understood only by the intended recipient. This is ...
                                                                                                              • Date and time formats supported in Zoho DataPrep

                                                                                                                Datetime A datetime format is formed using various format strings such as yyyy, dd, mm, etc. All the supported format strings are incorporated into the date picker feature of DataPrep. You can simply click to select the required element to form or ...
                                                                                                                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