Skip to content

The DateTime Now (macro) step reproduces the Alteryx DateTime Now packaged macro. It runs in the workflow engine; packaged-macro results are an approximation of the Alteryx macro.

  • Output Table and the Output format string.

The format string uses the Alteryx DateTime tool’s tokens, and the conversion carries them over as written. Left blank, it uses the tool’s own default, day, dd Month, yyyy — for example Tuesday, 04 August, 2026.

Token Renders
yyyy / yy Four- or two-digit year
Month / Mon Full or abbreviated month name
MM / M Month number, with or without a leading zero
day / dy Full or abbreviated weekday name
dd / d Day of month, with or without a leading zero
HH / H Hour on a 24-hour clock, with or without a leading zero
hh / h Hour on a 12-hour clock, with or without a leading zero
mm Minutes
ss Seconds
tt AM or PM

The tokens are case-sensitive: MM is the month, mm is the minute.