Follow

Add date and calculations in Messages

Current date and time: [[=System.Now;]]

30 days before: [[=System.Now.AddDays(-30);]]

 

You can use .AddDays(x)  .AddHours(x)  .AddMinutes(x)  .AddMonths(x)  .AddSeconds(x)  .AddYears(x) with any date-type variable, where x is the number of units of time (positive or negative) that you want to add.

0 Comments

Please sign in to leave a comment.