Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Report Design
Message Icon Topic: Last 24 Hours Formula Post Reply Post New Topic
Author Message
lorimack21
Newbie
Newbie


Joined: 30 Sep 2015
Online Status: Offline
Posts: 2
Quote lorimack21 Replybullet Topic: Last 24 Hours Formula
    Posted: 02 Oct 2015 at 8:39am
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!
IP IP Logged
praveeng
Senior Member
Senior Member
Avatar

Joined: 11 Jul 2011
Online Status: Offline
Posts: 165
Quote praveeng Replybullet Posted: 04 Oct 2015 at 10:02pm
Hi,

use below formula in Record selection:

Dateadd ("h",-24,currentdatetime)

--Praveen G
Praveen Guntuka,
praveen_guntuka@yahoo.com
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.031 seconds.