now
Returns the current date and time (including timezone), as an xs:dateTime value.

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.

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.