Date Formats
Date Formats
%CurrentDateIn
%CurrentDateOut
%CurrentDateTimeIn
%CurrentDateTimeOut
%CurrentTimeIn
%CurrentTimeOut
%DateIn
%DateOut
%DateTimeIn
%DateTimeOut
%TimeIn
%TimeOut
Remember that:
%DateNull
%DateTimeNull
%TimeNull
%DateAdd(from, days_to_add) gives the resulting date. You can use negative
numbers to get a past date. So this is also the DateSubtract function.
%DateDiff(from, to) gives the difference between two dates in days
%DateTimeDiff(from, to) gives the difference between two date/times in minutes