Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: time string field Post Reply Post New Topic
Author Message
elr738
Newbie
Newbie


Joined: 16 Jun 2010
Online Status: Offline
Posts: 3
Quote elr738 Replybullet Topic: time string field
    Posted: 31 Aug 2011 at 8:43am
I am trying to get the time between two fields to total up.
Job.Created-Time 00:00:00  Job.Time-Last-Production  000000
As you can see both are time fields but they return different time values.
Is there any way to change the Job.Time-Last-Production 000000 to read 00:00:00 like the Job.Created-Time field.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 31 Aug 2011 at 12:42pm
If Job.Time-Last-Production is a string in the same format as the other field, just without the colons, you can try this:
 
Left({Job.Time-Last-Production}, 2) + ':' + mid({Job.Time-Last-Production, 3, 2) + ':' + right({Job.Time-Last_Production}, 2)
 
-Dell
 
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.016 seconds.