Last 24 Hours Formula

Printed From: Crystal Reports Book — Forum Name: Report Design

Hello,

I am trying to build a formula to pull data from the last 24 hours.

Any code that I can use that will pull that data from the date/time field?


Thanks!
Hi,

use below formula in Record selection:

Dateadd ("h",-24,currentdatetime)

--Praveen G