Jump to content

Relógio com data em Visual Basic


joaomaria_18

Recommended Posts

  • 1 month later...

Te vou tentar ajudar.

Crias duas label's

Uma "Data" e a outra "Hora"

depois metes mais duas label's uma a frente da hora e outra a frente da data

Em seguida metes um Timer

Código Timer:

Label4.Text = TimeOfDay
Label3.Text = Date.Today

Clicas sobre o form e metes o seguinte código:

Timer1.Enabled = True
Edited by thoga31
Tags code + GeSHi
Link to comment
Share on other sites

  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.