You are viewing limited content. For full access, please sign in.

Question

Question

Add Leading Zero to Date Format

asked on August 8, 2023 Show version history

I am wanting to reformat my document name to the following format: YYYY-MM-DD.  I was able to pull the information from the "Retention Start Date" field.  Then, rename the entry using pattern matching.  The workflow works, except single digit months are showing up as 1977-1-11.  How can I add a leading zero to single digit months and days?

date field.png
date field.png (13.82 KB)
0 0

Replies

replied on August 8, 2023

I was actually able to figure it out through token editor

token.png
token.png (15.64 KB)
1 0
replied on August 8, 2023

Can you show us your workflow configuration?

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.