L
Linda
I have an invoice date 03/06/2004 (invoice of March).
Now I would like to determine the begindate of the
previous month, i have tried the following:
DateBegCom = DateAdd("m", "0", [dateinvoice]) - DateAdd
("m", "1", [dateinvoice])
When I execute this I get 29/11/1899 when I actually
should get 02/01/2004 (1st of February, 2004).
What am I doing wrong here? - Thanks.
Now I would like to determine the begindate of the
previous month, i have tried the following:
DateBegCom = DateAdd("m", "0", [dateinvoice]) - DateAdd
("m", "1", [dateinvoice])
When I execute this I get 29/11/1899 when I actually
should get 02/01/2004 (1st of February, 2004).
What am I doing wrong here? - Thanks.