Date Arithmetic

Go down

Date Arithmetic

Post  kasthuri on Mon Jan 28, 2013 12:01 pm

Hi,
My requirement is to subtract 2 dates to get number of days between them. Which is the most efficient way to do that? We are considering:
(1) DB2 using (CURRENT DATE - WS-DATE)
(2) Using Cobol funxtion INTEGER-OF-DATE and then take difference
(3) Any other method??

Thanks in advance

kasthuri

Posts : 212
Join date : 2013-01-27

View user profile

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum