add-time-to-datetime

Add Time to Datetime

version 1.0.1 (Compatible with OutSystems 11)
Published on 08 September 2020 by 
5.0
 (1 rating)
add-time-to-datetime

Add Time to Datetime

Details
-Action to add time to datetime. Insert in the input the base datetime that you need to add time and in the other input the time that you want to add in data format "Time". The action will return a new Datetime in data format "Datetime". This action has error handling: One output return the success (Result - True if success and False if NOT success) and other output (ErrorMessage) returns the error message if exist. -Action to subtract time to datetime. Insert in the input the base datetime that you need to subtract time and in the other input the time that you want to subtract in data format "Time". The action will return a new Datetime in data format "Datetime". This action has error handling: One output return the success (Result - True if success and False if NOT success) and other output (ErrorMessage) returns the error message if exist.
Read more

-Action that directly add time from a variable "Time" to a variable "Datetime".

Insert in the input the base datetime that you need to add time and in the other input the time that you want to add in data format "Time".

The action will return a new Datetime in data format "Datetime".


This action has error handling: One output return the success (Result - True if success and False if NOT success) and other output (ErrorMessage) returns the error message if exist.

This action uses the "timespan" and the "Add" to datetime under a try statment with a catch to the exception extration.


-Action that directly subtract time from a variable "Time" to a variable "Datetime".

Insert in the input the base datetime that you need to add time and in the other input the time that you want to subtract in data format "Time".

The action will return a new Datetime in data format "Datetime".


This action has error handling: One output return the success (Result - True if success and False if NOT success) and other output (ErrorMessage) returns the error message if exist.

This action uses the "timespan" and the "Add" to datetime under a try statment with a catch to the exception extration.

What’s new (1.0.1)

In this new version was added a new action, to subtract time to a given datetime. Basically, is the opposite from the original one.

We give a base datetime (datetime format), the time we want to remove (time format) and the action returns the new datetime with the value that we need (in datetime format).


Reviews (0)