Tuesday, October 6, 2020

Dataweave 2.0: Convert Calendar Date To Julian Date

A Julian date is commonly used in main frame. It's format is YYDDD. DDD is the date since begining of the year. In DetaWeave 2.0 the code should be as the following:
	julianNow: now() as String {format: "YYD"},
	julianAt: "07-10-2020" as Date {format: "dd-MM-yyyy"} as String {format: "YYD"}

1 comment:

Anypoint Studio Error: The project is missing Munit lIbrary to run tests

Anypoint Studio 7.9 has a bug. Even if we following the article: https://help.mulesoft.com/s/article/The-project-is-missing-MUnit-libraries-...