Date Arithmetic
Page 1 of 1
Date Arithmetic
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
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
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|