Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Add Time to a Variable Date Post Reply Post New Topic
Author Message
JessicaQ
Newbie
Newbie
Avatar

Joined: 27 May 2014
Location: United States
Online Status: Offline
Posts: 1
Quote JessicaQ Replybullet Topic: Add Time to a Variable Date
    Posted: 27 May 2014 at 9:43am
I need to identify a specific time, but not a specific date. My goal is to say, at midnight on "this date" the patient was at this location.
"This date" = minimum(lastfullmonth)+1

I get 4/2/2014 for my date, but I need to add the midnight time frame and be able to calculate on it.

I was using this formula for the entire date but they want to know exactly at midnight where the patient was:
{@Start} <= minimum(lastfullmonth)+1
   and
{@End} >= minimum(lastfullmonth)+1

Any help would be great.
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 28 May 2014 at 4:35am
maybe
datetime(minimum(lastfullmonth)+1 ) in {@Start} to {@End}
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.