タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

明日の日付を取得するWiに関するAs_hspのブックマーク (1)

  • localtime

    tm構造体への変換 【書式】 #include <time.h> struct tm *localtime(const time_t *timer); 【説明】 timer に格納されているデータを 現地時間(日時間)に変換し、tm構造体に格納します。 timerに格納されているデータは一般にtime関数を使って取得します。 【引数】 const time_t *timer : 暦時間の格納元。 「const」についてはasctime関数を参照のこと。 【戻り値】 tm構造体を指すポインタ 構造体 tm はtime.h の中で宣言され、以下の情報を含みます struct tm { int tm_sec; /* 秒 [0-61] 最大2秒までのうるう秒を考慮 */ int tm_min; /* 分 [0-59] */ int tm_hour; /* 時 [0-23] */ int tm_m

    As_hsp
    As_hsp 2009/10/27
    localtime tm, date()+60*60*24
  • 1