website logo
πŸ”­Overview
πŸ’ΌPlatform Actions
πŸ’œIntegrations
🧰Custom Actions
πŸ› οΈDeveloper's Guide
Navigate through spaces
⌘K
πŸ“•Call API
πŸ“•Generate Document
πŸ“•Call Subprocess
πŸ“•Decisional
βš“Decisional Further Reading
πŸ“•Join
πŸ“•Delay
πŸ“•For Each
πŸ“•Get File Data
πŸ“•Map Process Data
βœ‰οΈSend Email
πŸ“¬Inbound email
πŸ“Database
πŸ“Documents
πŸ“DateTime
πŸ“FTP/sFTP
πŸ“Json
πŸ“XPath
πŸ“Lists
πŸ“Numerical
πŸ“Strings
πŸ“Converters
πŸ“Excel
πŸ“Scripting
πŸ“Utilitary
πŸ“Pdf
πŸ“Beta
Docs powered byΒ archbeeΒ 

Format DateTime

8min

This action transform a DateTime to String, using a custom format specification.

Document image
ο»Ώ

Inputs & Outputs

  • [ 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
ο»Ώ

Example Usage

  • Drag action onto the canvas to get familiarized with it.
Document image
ο»Ώ
  • Declare some variables to be used with the action.
Document image
ο»Ώ
  • Assign the newly created variables.
  • Save & Run the process and then Check Instance to see the output.
Document image
ο»Ώ

Use Cases

  • 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.

Tips

  • The Format field uses standard .NET format specifiers which are documented here.
  • 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 05 Apr 2023
Did this page help you?
Yes
No
PREVIOUS
Parse DateTime
NEXT
Date Difference
Docs powered byΒ archbeeΒ 
TABLE OF CONTENTS
Inputs & Outputs
Example Usage
Use Cases
Tips