Last active
August 29, 2015 14:11
-
-
Save yakutozcan/acc298f95ee119ce4450 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Timer Zamanlayici = new Timer(); | |
Zamanlayici.schedule( new TimerTask() { | |
public void run() { | |
Date Tarih = new Date(); | |
int Saat = Tarih.getHours(); | |
int Dakika = Tarih.getMinutes(); | |
int Saniye = Tarih.getSeconds(); | |
ZamanDegeri.setText(""+Saat+":"+Dakika+":"+Saniye); | |
} | |
}, 0, | |
1000 // Geçmesi gereken süre ms (60*1000 1 Dakika)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment