Can I set the default value for a function argument to be something that's not constant? Example:
tod := Mod[AbsoluteTime[], 86400]
f[x_:tod] := x
In the above, 'tod' changes every time I evaluate it, but "f[]" does not. "?f" yields:
f[x_:42054.435657`11.376386798562935] := x
showing the default value was hardcoded when I created the function.
Is there a workaround here?