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

Re: How to calculate PreviousCalWeek (YYYYWW format) using expression editor in HANA

$
0
0

hi KPK,

 

the following will return the previous weeknumber...

 

 

TO_CHAR(CURRENT_TIMESTAMP,'WW')-1 FROM DUMMY;

 

will return 7,

 

cheers,

jamie

 


Viewing all articles
Browse latest Browse all 9165

Trending Articles



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