Modify Date
Modifies the given date.
Input
- Date to Modify: Date value to modify
- Type:
System.DateTime - Required
- Type:
Options
- Date Format: Select a predefined format for the text result.
- Type:
System.String
- Type:
- Use Custom Date Format: Set a date format that will be used to output the result as text.
- Type:
System.Boolean - Required
- Type:
- Format Output as Text: Output the resulting date as a string with a specific format.
- Type:
System.Boolean - Required
- Type:
Output
- Save Result as DateTime: Save the resulting value as a date.
- Type:
System.DateTime - Required
- Type:
- Save Result as String: Save the resulting value as text.
- Type:
System.String - Required
- Type:
Details
- You can perform one of the following operations to make changes to the date:
Find Next/Previous Date of Week
Finds the next or previous date of the specified day of the week.
Input
-
Day: The day of the week to find the next or previous date.
- Type:
System.Int32 - Required
- Dropdown Options:
- Sunday
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
- Saturday
- Type:
-
Find: Select whether to find the next or previous date.
- Type:
System.Int32 - Required
- Dropdown Options:
- Next
- Previous
- Type:
Add/Subtract Time Period
Adds or subtracts the specified time period to the given date.
Input
-
Operation: Select whether to add or subtract the time period.
- Type:
System.Int32 - Required
- Dropdown Options:
- Add
- Subtract
- Type:
-
Value: The value to add or subtract.
- Type:
System.Int32 - Required
- Type:
Misc
- Time Unit: Select the time unit to add or subtract.
- Type:
System.Int32 - Required
- Dropdown Options:
- Days
- Weeks
- Months
- Years
- Type:
Find Start/End of Date
Finds the start or end date of the specified week, month, or year.
Input
-
Find: Select whether to find the start or end date.
- Type:
System.Int32 - Required
- Dropdown Options:
- First Day
- Last Day
- Type:
-
Of: Select the time period to find the start or end date.
- Type:
System.Int32 - Required
- Dropdown Options:
- Week
- Month
- Year
- Type: