Hear from Salesforce leaders on how to create and deploy Agentforce agents.
Contact Us 1-800-596-4880

tomorrow

tomorrow(): Date

Returns the date for tomorrow as a Date type.

Introduced in DataWeave version 2.4.0.

Example

This example shows the output of tomorrow function.

Source

%dw 2.0
import tomorrow from dw::core::Dates
output application/json
---
tomorrow()
DataWeave

Output

"2021-05-16"
Json