Changing Date Format to Write in a File
Comments
- 
            
Hi, I have a flow thats supposed to write a timestamp for the current date in a different format from the usual Decisions DateTime format. The desired format is yyyymmdd, but Decisions uses mm/dd/yyyy by default. How can I re-format a date to yyyymmdd?
 - 
            
Hello. Since the formatted date will be written to a file, you can use the Merge Text Editor to re-arrange the mm/dd/yyyy format to yyyymmdd format by selecting individual properties from a DateTime variable. It is important to note that days 1-9 in a month will appear as a single digit in the Merge Text Editor, so Ive used a rule and a separate text merge to add a 0 before the day. Ive attached a demo flow that re-formats the current date from mm/dd/yyyy to yyyymmdd.
 
Howdy, Stranger!
Categories
- 4.5K All Categories
 - 88 General
 - 13 Training
 - 214 Installation / Setup
 - 1.2K Flows
 - 112 Rules
 - 277 Administration
 - 215 Portal
 - 503 General Q & A
 - 722 Forms
 - 356 Reports
 - 3 Designer Extensions
 - 47 Example Flows
 - 58 CSS Examples
 - 1 Diagram Tile
 - 8 Javascript Controls
 - 190 Pages
 - 5 Process Mining
 - New Features
 - 187 Datastructures
 - 73 Repository
 - 238 Integrations
 - 30 Multi-Tenant
 - 27 SDK
 - 81 Modules
 - 60 Settings
 - 27 Active Directory
 - 12 Version 7
 - 37 Version 8
 - 143 Lunch And Learn Questions