DateTime
Format DateTime
6min
This action transform a DateTime to String, using a custom format specification.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/2dWHH022kJdZQikkfM2HR_tdy.png?format=webp)
- [ I ] Datetime: DateTime to be transformed.
- [ I ] Language: Language to be used for month names and days of the week when formatting.
- Drop-down with multiple languages.
- [ I ] Format: String representing the wanted format.
- [O] Formatted datetime: String representing the formatted date.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/BQLI_tTHTZV2H0NOpe20l_tdy.png?format=webp)
- Drag action onto the canvas to get familiarized with it.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/2GB_tZ6EzBSC-G8vCYsjL_tdy.png?format=webp)
- Declare some variables to be used with the action.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/jUg5IdRlbLNfNbOmzS21X_tdy.png?format=webp)
- Assign the newly created variables.
- Save & Run the process and then Check Instance to see the output.
![Document image Document image](https://images.archbee.com/pD-o7nZLwDiSBwGlsHA9q/opV49FzkT8-SfTezIoow4_tdy.png?format=webp)
- Formatting DateTime values into a more human readable format.
- Translating month names or days of the week from one language to another using the Parse DateTime and Format DateTime actions together.
- The Language selector picks which language should be used when the wanted format contains :
- Month names: June (UK) 🆚 Iunie (RO) 🆚 Juin (FR)
- Days of the week: Monday (UK) 🆚 Luni (RO) 🆚 Lundi (FR)
- Abbreviations
Updated 31 Aug 2023
![Doc contributor](https://s3.amazonaws.com/archbee-animals/koala.png)
Did this page help you?