I want to display 65 as 1:05 because 65 stands for minutes.
Is there a mydbr-command?
And is it possible to aggregate on the column that displays 1:05?
Minutes tot h:m
(4 posts) (2 voices)-
-
In what context do you display the time?
--
myDBR Team -
Context...
Its just a column in a report -
myDBR will by default handle time datatype automatically.
If your minutes data is in a integer column you can convert it to time by using database functions. In MySQL use sec_to_time( myminutes * 60 ), in SQL Server use convert-function.
When a column is a time column, myDBR handles aggregate calculation automatically.
--
myDBR Team
Reply
You must log in to post.