To extract the number that indicates the day in a given date.
Day(date-expression | datetime-expression)
If the received parameter is null, the value returned is 0.
A Company wants to implement the following discount policy: All debts paid before the 21st of every month will have a 15% discount.
If day(PaymentDate) < 21
&Discount = Total * 0.15
&Discount = 0
Objects Procedure object, Transaction object, Web Panel object
TimeZone Support - General Considerations