Marcus Aurelius
asked on
Bad Date-Time Format
Experts:
I need help calculating AVERAGE TIME. I have a field that holds a CALL_DURATION of a telephone call in this format:
CALL_DURATION
---------------------
00:14
00:20
00:05
145:14
100:10
60:15
When I try to use this formula I get the error: BAD DATE-TIME FORMAT STRING
//@CallDurationToSeconds
(
(hour(datetime({View_smdrd ata_Phone_ System.Cal lDuration} )) * 60 * 60 ) +
(minute(datetime({View_smd rdata_Phon e_System.C allDuratio n})) * 60)
+ (second(datetime({View_smd rdata_Phon e_System.C allDuratio n})))
) /60
This is the portion that is CR highlights as being a problem:
datetime({View_smdrdata_Ph one_System .CallDurat ion})
I've tried different things...but I can't seem to get it....your help is appreciated.
MikeV
I need help calculating AVERAGE TIME. I have a field that holds a CALL_DURATION of a telephone call in this format:
CALL_DURATION
---------------------
00:14
00:20
00:05
145:14
100:10
60:15
When I try to use this formula I get the error: BAD DATE-TIME FORMAT STRING
//@CallDurationToSeconds
(
(hour(datetime({View_smdrd
(minute(datetime({View_smd
+ (second(datetime({View_smd
) /60
This is the portion that is CR highlights as being a problem:
datetime({View_smdrdata_Ph
I've tried different things...but I can't seem to get it....your help is appreciated.
MikeV
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Error...
A number or currency amount is required...
I'll keep adjusting the type and see if I can get it to work...
A number or currency amount is required...
I'll keep adjusting the type and see if I can get it to work...
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
(CurrentFieldValue \ 60) & ":" & (CurrentFieldValue Mode 60)