Custom Date Parsing
I have a date that is being passed in as MM/YY and I need it to be formatted as MM/01/YYYY, but Decisions is making it MM/YY/2024.
Ex. If I send in 12/23, I need it to be 12/01/2023 not 12/23/2024. How can I achieve this?
Comments
-
You can use the Set Date on Date Time step (found under Data > Dates) to do this. You will want to have a constant date set for the Date Source (doesn't matter what date you pick) and set the Constant for the Day to 1. For the month, select the Date that's being passed in and find the Month property. Lastly for the year, select the date and map the Day to the Year.
Documentation: https://documentation.decisions.com/step-library/docs/set-date-on-date-time-step
Howdy, Stranger!
Categories
- 4.4K All Categories
- 86 General
- 13 Training
- 212 Installation / Setup
- 1.2K Flows
- 112 Rules
- 282 Administration
- 216 Portal
- 501 General Q & A
- 719 Forms
- 353 Reports
- 3 Designer Extensions
- 48 Example Flows
- 58 CSS Examples
- 1 Diagram Tile
- 8 Javascript Controls
- 189 Pages
- 5 Process Mining
- New Features
- 187 Datastructures
- 71 Repository
- 233 Integrations
- 30 Multi-Tenant
- 27 SDK
- 81 Modules
- 60 Settings
- 27 Active Directory
- 12 Version 7
- 36 Version 8
- 143 Lunch And Learn Questions