Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

HANA time conversions from Decimal to Minutes

$
0
0

Hi All,

 

I wander if anyone can point me int he right direction.

 

Basically i have my calculated column as laid out below:

 

secondsbetween(timestamp1, timestamp2)/60 which gives me my answer in Minutes decimal.

 

EG.

secondsbetween(2016-07-01 09:10:15, 2016-07-01 09:15:45)/60

which basically produces 330(seconds) divided by 60 (to give minutes) result being 5.5 how do i then convert this to represent 05:30 as in 5 minutes and 30 seconds?

 

Your help is appreciated.

 

thanks,

Bal.


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>