Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
C には__DATE__、コンパイルされたソース ファイルの日付を示す事前定義されたマクロがあります。 日付は"Mmm dd yyyy"の形式で表示されます。
__DATE__
マクロを使用して、この日付をフォーマットする方法はありますか? この形式では"yyyy Mmm dd" .
の代わりに:
2013 年 7 月 19 日
する必要があります:
2013年7月19日