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
๐Ÿ“•Throw
๐Ÿ“•Get File Data
๐Ÿ“•Map Process Data
AWS S3 Operations
โœ‰๏ธSend Email
๐Ÿ“ฌInbound email
๐Ÿ“Database
๐Ÿ“Documents
๐Ÿ“DateTime
๐Ÿ“FTP/sFTP
๐Ÿ“Json
๐Ÿ“XPath
๐Ÿ“Lists
๐Ÿ“Numerical
๐Ÿ“Strings
๐Ÿ“Converters
๐Ÿ“Excel
๐Ÿ“Scripting
๐Ÿ“Utilitary
๐Ÿ“Pdf
โค๏ธCommunity-Made
๐Ÿ“Beta
Docs powered byย Archbee
DateTime

Format DateTime

6min

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 31 Aug 2023
Did this page help you?
PREVIOUS
Parse DateTime
NEXT
Date Difference
Docs powered byย Archbee
TABLE OF CONTENTS
Inputs & Outputs
Example Usage
Use Cases
Tips
Docs powered byย Archbee