joaomaria_18 Posted February 4, 2016 at 12:23 PM Report Share #593117 Posted February 4, 2016 at 12:23 PM Boas pessoal, queria fazer um relógio que mostrasse também a data. O relógio já sei fazer, mas não consigo implementar a data. Agradecia a quem soubesse que me pudesse ajudar. Cumps! Link to comment Share on other sites More sharing options...
JoseF Posted March 8, 2016 at 05:18 PM Report Share #594169 Posted March 8, 2016 at 05:18 PM (edited) 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 March 12, 2016 at 10:20 PM by thoga31 Tags code + GeSHi Link to comment Share on other sites More sharing options...
Dj Letomix Posted October 26, 2016 at 08:31 PM Report Share #599940 Posted October 26, 2016 at 08:31 PM Em Thursday, February 04, 2016 às 13:23, joaomaria_18 disse: Boas pessoal, queria fazer um relógio que mostrasse também a data. O relógio já sei fazer, mas não consigo implementar a data. Agradecia a quem soubesse que me pudesse ajudar. Cumps! So precisas de uma label para isso cod..... label_horas.text=now Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now