CURRENT_JULIAN macro

The CURRENT_JULIAN macro is available only in Unica Campaign.

Syntax

CURRENT_JULIAN()

Description

CURRENT_JULIAN() returns the Julian number for the current date (the number of days elapsed since January, 1, 0000). This is equivalent to the macro DATE(CURRENT_DATE()).

Examples

If the date today is the 31st of August, 2000, CURRENT_JULIAN() returns the number 730729.

Related functions

Function Description
CURRENT_DAY Returns the current day as a number.
CURRENT_MONTH Returns the current month as a number.
CURRENT_TIME Returns the current time as a string.
CURRENT_WEEKDAY Returns the current weekday as a number.
CURRENT_YEAR Returns the current year as a number.