Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Re: How to Calculate column (Month, Year) from date or timestamp

$
0
0

Hi KD,

 

You can apply the following formulas in the expression:

 

For Year :

 

leftstr(string("Timestamp"),4)

 

Untitled.png

For Month:

 

midstr(string("Timestamp"),6,2)

 

Regards,

Krishna Tangudu


Viewing all articles
Browse latest Browse all 8968

Trending Articles



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