CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2000
    Location
    Canada
    Posts
    8

    Problem with FormatDateTime function

    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."

  2. #2
    Join Date
    Feb 2000
    Location
    Indiana
    Posts
    308

    Re: Problem with FormatDateTime function

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured