You were close.

AddColumn( Ref( DateTime(), -5 ), "Date 5 days earlier", formatDateTime );

Mike

--- In [email protected], "TomD" <mdar...@...> wrote:
>
> I'm looking to display a date for n days ago.
> 
> Obviously, this doesn't work, but what would be the correct approach?
> 
> AddColumn(Ref(Date(), -5),"Date 5 days earlier");
>


Reply via email to