c# - Calculate End Date Given Start Date & duration (in days) -


i developing c#.net solution store procedure in oracle calculates end date based on provided start date , duration weekends.

i.e. start date: 01/3/2013 forward days: 10

start date = (05/5/2011) - 10 days (includes weekends)

start date = 06/02/2013

thank you,

you can bunch of ways in oracle. i'd suggest interval way because it's standard-ish:

select yourdate + interval '10' day, ... 

the single quote around 10 required.

the "old" way add 10 date; oracle treats days:

select yourdate + 10, ... 

Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -