Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Time difference in seconds Post Reply Post New Topic
Author Message
Memoli28
Groupie
Groupie
Avatar

Joined: 10 Apr 2009
Online Status: Offline
Posts: 58
Quote Memoli28 Replybullet Topic: Time difference in seconds
     Posted: 06 Dec 2009 at 5:06am
Hi All,
 
i have in my report 2 datetimefields.
 
what kind of formula do i need to calculate the difference between TIMES
in seconds?
 
operation     start datetime                      end datetime
A                  12-05-2009  11:30:45 PM    12-05-2009  11:31:15 PM
 
difference in seconds:
30 seconds
 
any help appreciated.
 
Regards,
Memoli
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 06 Dec 2009 at 7:49am
datediff('n',{table.startdate},{table.enddate})
IP IP Logged
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