on 04-09-2007 1:19 PM
Hi all,
/: If &vbrk-fkdat& < '31.12.2006'.
/: include my_logo.
/: else.
/: include your_logo.
/: endif.
I want to compare dates in scripts text element. how to do.
the &vbrk-fkdat& is holding 19.06.2006. and showing 'your_logo' but i need 'my_logo'.
Please find out is there any mistake in dates comparison. or let me know how compare dates
Helpful answeres are surely rewarded.
Hi all,
Thanks for your suggestions.
the solution is
/: define &dates& = '31.12.2006'.
/: SET DATE MASK = 'YYYYMMDD'.
/: If &vbrk-fkdat& < &dates&.
/: include my_logo.
/: else.
/: include your_logo.
/: endif.
/: SET DATE MASK = ''. -
> to reset date mask
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check it in yyyymmdd format.
/: If &vbrk-fkdat& <b>< '20061231'.</b>
/: include my_logo.
/: else.
/: include your_logo.
/: endif.
Regards,
Santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Check the modified code
/: If &vbrk-fkdat& < '20061231'.
/: include my_logo.
/: else.
/: include your_logo.
/: endif.
Hope that Helps
Anirban M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.