cpp/chrono/c/asctime
Da cppreference.com.
Sintassi:
#include <ctime> char *asctime ( const struct tm * ptr ) ;
La funzione asctime() converte il tempo in struct 'ptr' una stringa di caratteri del seguente formato:
giorno mese data ore : minuti : secondi anno
Un esempio:
Mon Jun 26 12 : 03 : 53 2000
Argomenti correlati: clock , ctime, difftime , gmtime , localtime , mktime