on 10-30-2018 6:19 AM
Hi Experts,
Can you please help to FORMAT the below formula in IDT. Month function is unavilable in IDT
month (date) = 7
date is dimension in format datetime..
Thanks,
Dinya
Use substr to get month and year from a date (current date 'sysdate' or any other date)
ex.
cCurrDate: to_char(sysdate)
MonthOfCurrDate: substr(@Select(cCurrDate),4,2)
YearOfCurrDate: substr(@Select(cCurrDate),7,4)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.