Jump to content
  • 0

Formula to change date format


drckarcher
 Share

Question

Hi,

I am importing a date/time field from another application. Its format is

2022-04-14T09:00:00 

How can I convert this to 14 April 2022 using a formula?

I get as far as Left([@field:EventDateTime],10)  (resulting in 2022-04-14) but can't figure out how to proceed from here,

Many thanks!

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

I want to know the formula to change date format and for that I am searching for it online and I am glad I have found your post. While searching for it online, I also found a website online through which I can make a business plan bank loan. I want to start my own business and for that I need to make a business and also how can I take a loan from bank for starting my own business.

Link to comment
Share on other sites

  • 0

I have also faced a similar issue, but I wanted to get the date into a more usable format, here I am using UK format, but you can move the day and month around - 

Day / Month / Year

RIGHT(LEFT(CONVERT(VARCHAR, [@field:JobDate], 120), 10),2)

+ '/' + RIGHT(LEFT(LEFT(CONVERT(VARCHAR, [@field:JobDate], 120), 10),7),2)

+ '/' +LEFT(LEFT(CONVERT(VARCHAR, [@field:JobDate], 120), 10),4)

 

Hopefully this helps getting the date formatted within a formula field outside a datapage. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...