Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Scripts date comparison

Former Member
0 Likes
456

Hi all,

I want to compare dates in scripts text element. how to do.

/: If &vbrk-fkdat& is less than 31.12.2006.

/: include my_logo.

/: else.

/: include your_logo.

/: endif.

Helpful answeres are surely rewarded.

2 REPLIES 2
Read only

Former Member
0 Likes
398

Hi Priyanka,

Date is internally stored as yyyymmdd .So you give If &vbrk-fkdat& is less than 20061231 .Hope this would help you.

Thanks ,

Raj.

Read only

Former Member
0 Likes
398

hi

try the following code.

if &vbrk-fkdat& le 20061231.

code

endif.

it will defintely work.i have implemented it.

regards

ravish.

<b>plz reward if helpful</b>