Get date element Version 8 (Python)
Action group: Dates convertion
Description
The action gets the desired element from the selected date
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Date | The given date | Robin.DateTime | Yes | |
Element | The item of date to get. Possible values: Year, Quarter, Month, Day, Hour, Minute, Secund, Day of the week | Robin.String | Yes | |
Result type | Robin.String | No | ||
Results | ||||
Result | Variable containing the value of the selected item | Robin.Object |
Special conditions of use
Learn more on date and time formats: https://learn-microsoft-com.translate.goog/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings?_x_tr_sl=en&_x_tr_tl=ru&_x_tr_hl=ru&_x_tr_pto=wapp
Example of use
Task
Get the day of the week name for the date 21.11.2023
Solution
Use the "Get date element" action.
Implementation
- Set the "Get date element" action parameters.
- Click "Start" in the top panel.
Result
The program robot completed successfully. The date element was obtained.
Обзор
Инструменты контента