now
Returns the current date and time (including timezone), as an xs:dateTime value.
![mf-func-now](./images/mf-func-now.png)
Languages
Built-in, C++, C#, Java.
Example
The following mapping outputs the current date and time. The output changes each time when the mapping runs.
![mf-func-now-example](./images/mf-func-now-example.png)
An example output would be 2020-04-17T11:42:34.684+02:00.
For an example on how to extract yesterday's date, see the core | lang | datetime-add function.