Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h> // Cách lấy thời gian hiện tại
- #include <time.h>
- void main()
- {
- time_t ht = time(0);
- tm * tg = localtime(&ht);
- printf("Nam hien tai la %d", tg->tm_year);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement