タグ

書式とprogrammingに関するItisangoのブックマーク (1)

  • Man page of STRFTIME

    Section: Linux Programmer's Manual (3) Updated: 2020-08-13 Index JM Home Page roff page 名前 strftime - 日付および時刻の文字列への変換 書式 #include <time.h> size_t strftime(char *s, size_t max, const char *format, const struct tm *tm); 説明 strftime() 関数 は、要素別の時刻 tm の内容を format で指定された書式指定にしたがって変換し、長さ max の文字列 s に書き込む。要素別の時刻構造体 tm は <time.h> で定義されている。 ctime(3) も参照。 書式指定はヌル終端された文字列であり、「変換指定 (conversion specification)」と

  • 1