Results 1 to 3 of 3

Thread: how to display current time

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2005
    Posts
    38

    Resolved how to display current time

    hi...
    I have to display the current time in my application when the user uses the application.
    anyone knows how to display the current time?
    Last edited by anesor; Sep 14th, 2005 at 12:02 AM.

  2. #2
    Fanatic Member Strider's Avatar
    Join Date
    Sep 2004
    Location
    Dublin, Ireland
    Posts
    612

    Re: how to display current time

    add a timer and inside the have it set the label to the current time
    label1.text = Date.Now.TimeOfDay.ToString
    Barry


    Visual Studio .NET 2008/Visual Studio .NET 2005/Visual Studio .NET 2003
    .NET Framework 3.0 2.0 1.1/ASP.Net 3.0 2.0 1.1/Compact Framework 1.0

    SQL Server 2005/2000/SQL Server CE 2.0


    If you like, rate this post

    Compact Framework for Beginners

  3. #3

    Thread Starter
    Member
    Join Date
    Jun 2005
    Posts
    38

    Re: how to display current time [RESOLVED]

    ok..
    Thank You...I got the current time...

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