Hi,
I am trying to subract from date. The user wants to put a code like d,m, or y - number to subract that number from the day, month or year. I am using that linke below and it is giving some strange results.
The code for this line should look oke this (m-3) to subtract three months from today's date.
txtDateChanged.Text = DateSerial(Month(Date) - 3, Day(Date), Year(Date))
Thanks as always.
Mo
I am trying to subract from date. The user wants to put a code like d,m, or y - number to subract that number from the day, month or year. I am using that linke below and it is giving some strange results.
The code for this line should look oke this (m-3) to subtract three months from today's date.
txtDateChanged.Text = DateSerial(Month(Date) - 3, Day(Date), Year(Date))
Thanks as always.
Mo