Date/time utilities
  • 09 Mar 2023
  • 1 Minute to read
  • Dark
    Light

Date/time utilities

  • Dark
    Light

Article Summary

Utilities to calculate current date and time durations.

Calculate time duration

Calculates the time from Date to the present, and returns it in the DATE_FORMAT you defined.

Date_Format

%Y-%m-%dT%H:%M:%S

Date

2006-08-29T23:59:11

Output

138422h29m13.895503549s


Get date

Returns a date in the DATE_FORMAT defined. You can use the optional parameters to set a time in the past, as well as determine the time zone.

Date_Format

%Y-%m-%dT%H:%M:%S

Date

2006-08-29T23:59:11

Output

2022-06-14T14:30:45


Compare dates

To check if the dates are the same, you can use the If or Switch operators and the Equals (or Not Equals) condition. 

The if operator showing an equals condition comparing two different get date steps



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.