Convert date format

how to convert date in format MMM dd yyy to dd MMM yyy.

Please use this.

Also see here

P.S. Ignore the :warning: sign beside the block.

Cheers ,

You could do it with a JOIN of three Segment() calls against your text input:

I assume you meant yyyy instead of yyy for a year,
and that the segment block accepts input, start, length.

Hello, I have tried what you suggest and it converts the date to text. Thanks a lot.
Maybe I did not explain it well, my problem is that I am entering a date and then I want to subtract it from the current date to know how many days are left to reach the defined date. For example, to know how many days until the expiration date of a product from its expiration date on the label.

The operation GetMillis cannot accept the arguments: , ["24/11/2020"]
How do I solve this so that I can subtract an entered date from the current system date.

Read the tooltip for GetMillis.

It can only accept an Instant, which is not a piece of text.

See this Gallery app

Thank you. Well, what I am doing is saving a date (for example 12/25/2020 with format dd/MM/aaa) and and after saving it I visualize it at a later date and when executing a button for the calculation it should show me the date difference (in days) of the saved date (12/25/2020 for example) and the current date which is currently 11/24/2020.