Posted: Thu Feb 22, 2007 7:39 am Post subject: Adding certain number of days to a current date and
Apprentice
Joined: 23 Aug 2006 Posts: 37
I want to add certain number of days(variable) to the current date and find out the resultent date. Any functionality available in ESQL ?
The code has to be leap year compliant. Output should also be in date format ( yyyymmdd).
e.g Input date = 20070222 days = 45
Output should be 20070408 ( cause year is 2007 - non-leap year )
20070407 ( cause year is 2008- leap year ) _________________ With warm Regards,
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum