sql - SSRS - DECIMAL to MM:SS -


i created ssrs project use stored procedure parameters dataset.

i have problems formatting...

in procedure have cast datetime columns decimal in order divide , multiply columns.

this result in following format: 0.00035879629629629629 how can format in ssrs display mm:ss ?

in excel use custom cell format : [mm]:ss;@

so example if format 0.00035879629629629629 in excel [mm]:ss;@ returns 00:31.

any ideas? :)

in sql, trick:

select substring(convert(varchar,cast(0.00035879629629629629 datetime),14),4,5)

see https://msdn.microsoft.com/en-us/library/ms187928.aspx


Comments

Popular posts from this blog

How to provide Authorization & Authentication using Asp.net, C#? -

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

How to use Authorization & Authentication in Asp.net, C#? -