website logo
๐Ÿ”ญOverview
๐Ÿ’ผPlatform Actions
๐Ÿ’œIntegrations
๐ŸงฐCustom Actions
๐Ÿ› ๏ธDeveloper's Guide
Navigate through spaces
โŒ˜K
๐Ÿ“•Call API
๐Ÿ“•Generate Document
๐Ÿ“•Call Subprocess
๐Ÿ“•Decisional
โš“Decisional Further Reading
๐Ÿ“•Join
๐Ÿ“•Delay
๐Ÿ“•For Each
๐Ÿ“•Throw
๐Ÿ“•Get File Data
๐Ÿ“•Map Process Data
โœ‰๏ธSend Email
๐Ÿ“ฌInbound email
๐Ÿ“Database
๐Ÿ“Documents
๐Ÿ“DateTime
๐Ÿ“FTP/sFTP
๐Ÿ“Json
๐Ÿ“XPath
๐Ÿ“Lists
๐Ÿ“Numerical
๐Ÿ“Strings
๐Ÿ“Converters
๐Ÿ“Excel
๐Ÿ“Scripting
๐Ÿ“Utilitary
๐Ÿ“Pdf
โค๏ธCommunity-Made
๐Ÿ“Beta
Docs powered by
Archbee
DateTime

Time Difference

8min

This action computes the difference between two DateTime values. [hour, minute, second]

Document image
๏ปฟ

Inputs & Outputs

  • [ I ] Unit of time: Drop-down to choose which unit of time will be used for measuring the difference.
    • Hour
    • Minute
    • Second
  • [ I ] First Datetime: DateTime representing the minuend.
  • [ I ] Second Datetime: DateTime representing the subtrahend.
  • [ O ] Difference: Integer equal to the result of First Datetime - Second Datetime in Unit of time.
Document image
๏ปฟ

Example Usage

  • Drag action onto canvas to get familiarized with it.
Document image
๏ปฟ
  • Declare some variables to be used with the action
Document image
๏ปฟ
  • Assign the newly created variables.
  • Save & Run the process and then Check Instance to see the output.
Document image
๏ปฟ

Use Cases

  • Computing the time difference between two DateTime values.

Tips

  • If Second Datetime is lesser than First Datetime, the Difference will be negative.
  • To compute date difference, consider using Date Difference.

๏ปฟ

๏ปฟ

Updated 31 Aug 2023
Did this page help you?
PREVIOUS
Date Difference
NEXT
DateTime To String
Docs powered by
Archbee
TABLE OF CONTENTS
Inputs & Outputs
Example Usage
Use Cases
Tips
Docs powered by
Archbee