Is there a function (or combination of functions) that I can use in Crystal Reports 8.5 that will enable me to display the previous Saturday's date based on a value in a date/time field?
For example, if my incomming records all have a date/time value of say, Wed. 7/20/2005 (but it could have been any weekday during that week) - I want to display the previous Sat. (7/16/2005) in the report header.
(The report includes some timekeeping data which corresponds to pay period end dates that always fall on every other Saturday. But I don't have the end dates themselves. All I have is the date the data was extracted which typically falls in the middle of the week following the close of the pay period.)
I've tried looking through the Crystal online help for functions (and a bit of searching around here) but I don't see any solution that addresses this specifically.
Thanks in advance.
For example, if my incomming records all have a date/time value of say, Wed. 7/20/2005 (but it could have been any weekday during that week) - I want to display the previous Sat. (7/16/2005) in the report header.
(The report includes some timekeeping data which corresponds to pay period end dates that always fall on every other Saturday. But I don't have the end dates themselves. All I have is the date the data was extracted which typically falls in the middle of the week following the close of the pay period.)
I've tried looking through the Crystal online help for functions (and a bit of searching around here) but I don't see any solution that addresses this specifically.
Thanks in advance.