Date/Time FunctionsExpression Builder - trillium_discovery - trillium_quality - Latest

Inline Quality and Discovery

Product type
Software
Portfolio
Verify
Product family
Trillium
Product
Trillium > Trillium Quality
Trillium > Trillium Discovery
Version
Latest
Language
English
Product name
Trillium Quality and Discovery
Title
Inline Quality and Discovery
Copyright
2024
First publish date
2008
Last updated
2024-10-18
Published on
2024-10-18T15:10:12.949492

The functions for the Date/Time category convert date and time into different formats.

Function Name Description
DATE_TO_SECONDS

Returns the specified date as seconds. This function parses and converts any standard date or time value. If you specify only the time, the function uses the current date as the default.

Note:

Function uses the date 1970-01-01 as anchor. Any date prior to 1970-01-01 will return a negative value.

DAYMONTHYEAR

Returns the specified date, given as day/month/year, in seconds.

MONTHDAYYEAR

Returns the specified date, given as month/day/year, in seconds.

NOW

Returns the current date and time as seconds.

SECONDS_IN

Calculates the number of seconds within a time period; for example, a specified number of days, weeks, and so on.

SECONDS_TO_DATE

Converts seconds back to the specified date/time format. Field descriptors start with a percentage sign (%) followed by a field descriptor character. All other characters are copied into the result.

TO_SECONDS

Returns the specified date and time as seconds. Field descriptors start with a percentage sign (%) followed by a field descriptor character.

YEARDAYMONTH

Returns the specified date, given as year/day/month, in seconds.

YEARMONTHDAY

Returns the specified date, given as year/month/day, in seconds.