Bonjour,
Excuse my bad english, i'm french.
I want to add 9 months to a date given by a DateDialog
Here my code (wrong) and impossible to find the true
Dim Dd As a DateDialog
Dim dateDG, DateTerme As Long
Dim TermeLbl As Label
dateDG = Dd.DateTicks
DateTerme = DateTime.Add(DateTime.date(dateDG), 0, 9, 0)
TermeLbl.Text = DateTime.Date(DateTerme)
Thank you if anybody give me the soluce
François
Excuse my bad english, i'm french.
I want to add 9 months to a date given by a DateDialog
Here my code (wrong) and impossible to find the true
Dim Dd As a DateDialog
Dim dateDG, DateTerme As Long
Dim TermeLbl As Label
dateDG = Dd.DateTicks
DateTerme = DateTime.Add(DateTime.date(dateDG), 0, 9, 0)
TermeLbl.Text = DateTime.Date(DateTerme)
Thank you if anybody give me the soluce
François