Add Time to Datetime

Version 1.0.1 (OutSystems 11)
Published on 8 Sep by 

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)
Category
Libraries
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Ricardo Pereira who created this component.
Dependencies
Add Time to Datetime has no dependencies.
Requirements
Platform:
11.0.0.200
Database:
All
Stack:
.NET
Component Consumers
See all 1 consumers
Weekly Downloads