This commit adds an epoch() function to the expression engine which returns the interval in milliseconds between the unix epoch and a given date value.