FoMS Experts

Forum / DataWeave 2

DataWeave 2
DataWeave 2

Stats: 2 topics, 6 messages

Newest topic:How to format dates in Dataweave?

Actual topic:How to format dates in Dataweave?

Last message:Edo Schatz, Thursday, 21.5.2020 / 13:50

TOPIC

Author of topic:Remmer CH

Messages:4

Views:1231

<1>

Remmer CHNo card

Remmer CH

M / 35 years

Schwyz

Switzerland

Level: Newbie / 4 posts

Posted: Monday, 18.5.2020 / 13:54

Topic: How to format dates in Dataweave?

Hi,

after having issues with formatting numbers, I am now having problems how to format a data. Any help would be appreciated. Tnx!

Edo SchatzGreen card

Edo Schatz

M / 47 years

Köln

Germany

Level: New hope / 45 posts

Title: Administrator

Posted: Monday, 18.5.2020 / 20:06

Topic: How to format dates in Dataweave?

To format a Date as a String, you should use patters from here:

https://docs.oracle.com/javase...

MijanNo card

Mijan

M / 52 years

Križevci

Croatia

Level: Newbie / 9 posts

Posted: Wednesday, 20.5.2020 / 17:33

Topic: How to format dates in Dataweave?

Quoted post

Edo Schatz wrote:

To format a Date as a String, you should use patters from here:

https://docs.oracle.com/javase...

Doesn't look nice

Edo SchatzGreen card

Edo Schatz

M / 47 years

Köln

Germany

Level: New hope / 45 posts

Title: Administrator

Posted: Thursday, 21.5.2020 / 13:50

Topic: How to format dates in Dataweave?

Quoted post

Mijan wrote:

Doesn't look nice

It's the way to do such things. Just look at an example from the world of PHP:

https://www.php.net/manual/en/...

<1>
  • HOT TOPICS
  • NEW TOPICS
  • MOST POPULAR
  • MY TOPICS
  • INVOLVED IN
  • FOLLOWED
Rules and regulations
Register now