Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. time

time

Scheduled Pinned Locked Moved C#
question
10 Posts 10 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NiloofarNoroozi
    wrote on last edited by
    #1

    hi how can i show time(now)in lable? please describe complete thanks a lot

    D L B C L 5 Replies Last reply
    0
    • N NiloofarNoroozi

      hi how can i show time(now)in lable? please describe complete thanks a lot

      D Offline
      D Offline
      Dr Emmett Brown
      wrote on last edited by
      #2

      yourLabel.Text = DateTime.Now.ToString();

      1 Reply Last reply
      0
      • N NiloofarNoroozi

        hi how can i show time(now)in lable? please describe complete thanks a lot

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        label1.Text = DateTime.Now.ToLongTimeString();

        1 Reply Last reply
        0
        • N NiloofarNoroozi

          hi how can i show time(now)in lable? please describe complete thanks a lot

          B Offline
          B Offline
          Blue_Boy
          wrote on last edited by
          #4

          Label1.Text = DateTime.Now.ToString("dd-MM-yyyy");


          I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you then save my time by voting my post.

          1 Reply Last reply
          0
          • N NiloofarNoroozi

            hi how can i show time(now)in lable? please describe complete thanks a lot

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #5

            If you ever want to be a programmer, or anything remotely resembling one, you will need to be able to use books and google to answer these sort of extremely basic questions.

            Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

            H K 2 Replies Last reply
            0
            • N NiloofarNoroozi

              hi how can i show time(now)in lable? please describe complete thanks a lot

              L Offline
              L Offline
              leckey 0
              wrote on last edited by
              #6

              now!

              Blog link to be reinstated at a later date.

              1 Reply Last reply
              0
              • C Christian Graus

                If you ever want to be a programmer, or anything remotely resembling one, you will need to be able to use books and google to answer these sort of extremely basic questions.

                Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

                H Offline
                H Offline
                Harvey Saayman
                wrote on last edited by
                #7

                amen to that CG

                Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

                you.suck = (you.passion != Programming)

                R 1 Reply Last reply
                0
                • H Harvey Saayman

                  amen to that CG

                  Harvey Saayman - South Africa Junior Developer .Net, C#, SQL

                  you.suck = (you.passion != Programming)

                  R Offline
                  R Offline
                  Roger Alsing 0
                  wrote on last edited by
                  #8

                  So how do I find this google thing your talking about? ;)

                  My Blog

                  M 1 Reply Last reply
                  0
                  • R Roger Alsing 0

                    So how do I find this google thing your talking about? ;)

                    My Blog

                    M Offline
                    M Offline
                    Mark Churchill
                    wrote on last edited by
                    #9

                    http://www.google.com/search?q=google Sheesh! Its like the first link!

                    Mark Churchill Director, Dunn & Churchill Pty Ltd Free Download: Diamond Binding: The simple, powerful, reliable, and effective data layer toolkit for Visual Studio.
                    Alpha release: Entanglar: Transparant multiplayer framework for .Net games.

                    1 Reply Last reply
                    0
                    • C Christian Graus

                      If you ever want to be a programmer, or anything remotely resembling one, you will need to be able to use books and google to answer these sort of extremely basic questions.

                      Christian Graus No longer a Microsoft MVP, but still happy to answer your questions.

                      K Offline
                      K Offline
                      Kevin Marois
                      wrote on last edited by
                      #10

                      How do you know he didn't go to Google and got pointed here? You seem to spend alot of time belittling people and telling them to Google what they're looking for. If you're not intetrested in helping, then why not ignore the post instead of bullying people? Apparently you're no longer a Microsoft MVP, and not at all interested in answering people's questions. You're interested in making people feel bad because they're experience isn't as great as yours. Degradation is the last refuge of the imcompetant.

                      Everything makes sense in someone's mind

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups