Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
vikasmahajan

Date Variables in input box

I have Variable v_Date 31-01-2015   & I want to show v_Date1   as  (v_date-30 days)

in input box .

Vikas

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.
1 Solution

Accepted Solutions
sunny_talwar

Try this:

=Date(addmonths(Date#(v_Date, 'DD-MM-YYYY'),-1),'DD-MM-YYYY')

View solution in original post

3 Replies
sunny_talwar

Try this:

=Date(addmonths(Date#(v_Date, 'DD-MM-YYYY'),-1),'DD-MM-YYYY')

sunny_talwar

Or this for 30 days:

=Date(Date#(v_Date, 'DD-MM-YYYY') - 30,'DD-MM-YYYY')

vikasmahajan
Author

thnx

Hope this resolve your issue.
If the issue is solved please mark the answer with Accept as Solution & like it.
If you want to go quickly, go alone. If you want to go far, go together.