Application Development 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: 

Scripts date comparison

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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>