#include <ctime> char *asctime( const struct tm *ptr );
asctime() 函式將結構體 'ptr' 中的時間轉換為以下格式的字串:
day month date hours:minutes:seconds year
一個例子
Mon Jun 26 12:03:53 2000