01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Emacs 20.7.2 とか 21.2.2 とか書いている人はネタ?...(format-time-string "%Y-%m-%d")=> "2004-11-10"(format-time-string "最終更新日: %Y-%m-%d")=> "最終更新日: 2004-%m-%d"(setq system-time-locale 'C)RedHat系のLinux で、RedHatのバージョンを確認するには、/etc/redhat-release というファイルの内容を確認することで可能です。例えば、RedHat7.3の場合は、次のような確認が行えます。お客様環境の バージョンが不明である場合などに参考にしてください。$ cat /etc/redhat-releaseRed Hat Linux release 7.3 (Valhalla)-*- html-helper-template: "%Y-%m-%d" -*-% Local Variables:% skk-kutouten-type: en% end