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: 

Which date is greater..

Former Member
0 Kudos

S_itab11 = 12/19/2007 and

s_itab12 = 05/31/2008

How to find out which one is greater or find out if 12/19/2007 is after 05/31/2008 or before..?

Any idea

1 ACCEPTED SOLUTION

Former Member
0 Kudos

This is a pretty basic question.

And responders take note:

Rob

Edited by: Rob Burbank on Dec 9, 2008 11:34 AM

8 REPLIES 8

Former Member
0 Kudos

This is a pretty basic question.

And responders take note:

Rob

Edited by: Rob Burbank on Dec 9, 2008 11:34 AM

Former Member
0 Kudos

You can search in SCN using the search functionality on the right hand side..top as this question has been answered every single day right from when SCN actually started, so you can imagine how many times this has been answered.

P.S: You can expect more sharper reactions. I was very kind to you.

former_member181995
Active Contributor
0 Kudos

Just wanted Share with you Efforts of "The Julius" :

Former Member
0 Kudos

Is it an option in your project to convert to the international date format first?

If yes, then can we discuss the metric system with you as well?

Former Member
0 Kudos

Some might say that the first date is always greatest.

Rob

0 Kudos

0 Kudos

Or hand the control back to the end user to decide... that would be user-centric programming.

They might consider the first date to be the greatest, or have not given up hope yet and are waiting for the right one to show up?

Please explain why you want to code this?

arpit_shah
Contributor
0 Kudos

Hi,

do the calculation like,

i = S_itab11 - s_itab12.

if it is positive(greater than zero) then s_itab11 is greater else s_itab12 is greater.

Regards,

Arpit