Click here to Skip to main content
15,889,691 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
hi all

i have a parameter in Nvarchar Type ...
This Is A Persian Date ...

For Example :'1391/01/29'

Persian Date 1391/01/29 Equal Gregorian date 2012/04/17

How Do I Addition My Date Plus Favorite Number For Favorite Time ?

I Mean :

Input Parameter Is 1391/01/29 :
(I Want Space Between Dates Is 15 Day ... And Have A 3 Date Result)
Result is :
1391/01/14
1391/01/29
1391/02/13

How Do It ?

Please Help Me

TNK A LOT
Posted

1 solution

Have a look at the function DATEADD[^]. This will allow to increment or decrement from a date value. Hopefully I've understood your question. :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900