CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: date and t ime

  1. #1
    Join Date
    Sep 2001
    Posts
    1

    date and t ime

    hello, this is my first time asking a question. i am trying to put date and time in the list box from the system. can anyone tell me how do i go about doing that!thank you


  2. #2
    Join Date
    Aug 2001
    Location
    India
    Posts
    173

    Re: date and t ime

    List1.AddItem Date & Time
    or
    List1.AddItem Date
    List1.AddItem Date





  3. #3
    Join Date
    Aug 2001
    Location
    India
    Posts
    173

    Re: date and t ime

    List1.AddItem Date & Time
    or
    List1.AddItem format(Date,"dd-mm-yyyy")
    List1.AddItem format(time,"HH:MM:SS")









  4. #4
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: date and t ime


    List1.AddItem Now



    Will put Data and time in your listbox

    John G

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