on 05-08-2014 9:35 AM
Hi All,
Sorry for asking basic question.
I have string field called year .And I am trying to add 1 more year to that.But I am getting error like bad date format.
Please suggest
dateadd(''yyyy'',1,date({OBJSETTING_MASTER_DATA.YEAR}))
Hi
If this field consist of only year then you can do the following :
Tonumber(({OBJSETTING_MASTER_DATA.YEAR}) +1
or
If you have date then
date(Year(cdate(({OBJSETTING_MASTER_DATA.YEAR}))+1, Month({OBJSETTING_MASTER_DATA.YEAR}), Day({OBJSETTING_MASTER_DATA.YEAR}))
-Sastry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.