Get Date Field
- It takes a DateTime input and returns a Int32 value.
Properties
Common
- DisplayName (String) –The display name of the activity.
Misc
- Input (InArgument<DateTime>) – Accepts a DateTime fieldtype value.
- Result (Out Argument<Int32>) – Returns Int32 value.
- Private (Boolean) – If selected, the values of variables and arguments are no longer logged at Verbose level.
- Date Field – To select what you want to obtain (Day, Month, Year, Hour, Minute, Second, Kind etc).
Example
- Create a new Process and then click on Manage Packages. Now search for Activities.Expressions in search bar. Install this package and click Save.
- Then create a Sequence and inside it call Get Date Field activity. Enter the input DateTime value and take output in the result.