Skip to main content

Modify Date

Modifies the given date.

Input

  • Date to Modify: Date value to modify
    • Type: System.DateTime
    • Required

Options

  • Date Format: Select a predefined format for the text result.
    • Type: System.String
  • Use Custom Date Format: Set a date format that will be used to output the result as text.
    • Type: System.Boolean
    • Required
  • Format Output as Text: Output the resulting date as a string with a specific format.
    • Type: System.Boolean
    • Required

Output

  • Save Result as DateTime: Save the resulting value as a date.
    • Type: System.DateTime
    • Required
  • Save Result as String: Save the resulting value as text.
    • Type: System.String
    • Required

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
  • Find: Select whether to find the next or previous date.

    • Type: System.Int32
    • Required
    • Dropdown Options:
      • Next
      • Previous

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
  • Value: The value to add or subtract.

    • Type: System.Int32
    • Required

Misc

  • Time Unit: Select the time unit to add or subtract.
    • Type: System.Int32
    • Required
    • Dropdown Options:
      • Days
      • Weeks
      • Months
      • Years

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
  • Of: Select the time period to find the start or end date.

    • Type: System.Int32
    • Required
    • Dropdown Options:
      • Week
      • Month
      • Year