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
Post a Comment