It's all about the answers!

Ask a question

duration attribute is shown in milliseconds instead of hours


Sedat kara (23418) | asked Dec 17 '14, 7:17 p.m.
 Hi, 
I've created a duration type attribute . This attribute is also shown in plan. When I set a value for this attribute it is automatically converted to milliseconds, I would like to have the value in hours.

2 answers



permanent link
sam detweiler (12.4k6179201) | answered Dec 17 '14, 7:45 p.m.
what presentation type did you put over it?   time, date, integer?

Comments
Sedat kara commented Dec 18 '14, 3:27 a.m.

 Hi Sam, 

What do you mean by presentation? If you hint the kind in "editor presentation" I chose "duration" or "time spent" I face the same issue. 
Thanks for your help


permanent link
Sedat kara (23418) | answered Dec 18 '14, 2:22 p.m.
  Hi all, 
I am giving more info on my situation. 
The type of the attribute is duration
In "Editor presentation" I specified "Time duration"
When I select a value it is in wished format, I can select w,d,h or m
But after saving what ever the value that I put, it converted to milliseconds, so that 1 hours becomes "3600000 hours". The value is converted to milliseconds but the unit is shown as hours

Thanks for your help

Your answer


Register or to post your answer.