Click to See Complete Forum and Search --> : Problem with FormatDateTime function


SGSCompany
February 24th, 2000, 11:08 AM
If I try this:


dim temp as string

temp = formatdatetime[date,vblongdate]




on any computer but my own, it generates an error. Why is that?

I have tried several variations as well, but to no avail.

"I'm not biased, I'm Christian."

Kyle Burns
February 24th, 2000, 11:12 AM
Copy and paste your exact code so that we can get a better idea of what you're doing. If I was silly enough to think this was the code you are trying to run, I'd say the problem has something to do with the fact that you're using brackets instead of parenthesis ;-). Also, please elaborate on the error you're receiving.