- Timestamp:
- 2007-12-16T02:55:56Z (17 years ago)
- Branches:
- master
- Children:
- 6b43dd4
- Parents:
- f9c3e7b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skype.c
rf9c3e7b r5b9847d 379 379 strftime(ib, 256, "%B %d, %Y", &tm); 380 380 g_string_append_printf(st, "Birthday: %s\n", ib); 381 g_string_append_printf(st, "Age:\n"); 381 382 strftime(ib, 256, "%Y", &tm); 383 int year = atoi(ib); 384 time_t t = time(NULL); 385 struct tm *lt = localtime(&t); 386 g_string_append_printf(st, "Age: %d\n", lt->tm_year+1900-year); 382 387 } 383 388 g_free(sd->info_birthday);
Note: See TracChangeset
for help on using the changeset viewer.