G
Guest
In order to adapt the correct format for a date in a SQL code,
I set as 'date function'
strBegin = Format(strBegindatum, "MM-dd-yyyy")
strEinde = Format(strEinddatum, "MM-dd-yyyy")
for strBeging= 1-08-2004 : this results in 08-01-2004
for strEinde = 10-08-2004 : this results in 10-08-2004
or if the day is > then 9,
the format function doesn't change the date ....
thanks for any support / help / advice
I set as 'date function'
strBegin = Format(strBegindatum, "MM-dd-yyyy")
strEinde = Format(strEinddatum, "MM-dd-yyyy")
for strBeging= 1-08-2004 : this results in 08-01-2004
for strEinde = 10-08-2004 : this results in 10-08-2004
or if the day is > then 9,
the format function doesn't change the date ....
thanks for any support / help / advice