[Ttssh2-commit] [4972] strftimeの%dについてサンプル例を追加した。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2012年 7月 25日 (水) 20:29:28 JST


Revision: 4972
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/4972
Author:   yutakapon
Date:     2012-07-25 20:29:28 +0900 (Wed, 25 Jul 2012)
Log Message:
-----------
strftimeの%dについてサンプル例を追加した。
Linux/UNIX系では%eがあるらしい。
cf.
http://blog.goo.ne.jp/nipo79/e/a8d25a7b33fbffd6c51754e592cc9236

Modified Paths:
--------------
    trunk/doc/en/html/macro/command/getdate.html
    trunk/doc/ja/html/macro/command/getdate.html

-------------- next part --------------
Modified: trunk/doc/en/html/macro/command/getdate.html
===================================================================
--- trunk/doc/en/html/macro/command/getdate.html	2012-07-24 14:41:00 UTC (rev 4971)
+++ trunk/doc/en/html/macro/command/getdate.html	2012-07-25 11:29:28 UTC (rev 4972)
@@ -84,6 +84,10 @@
 tz="GMT"
 gettime s "%Y/%m/%d %H:%M:%S" tz
 messagebox s tz
+
+;To retrieve Today's date.
+gettime s "|%d|%#d|"    ; |07|7| (Today is 7th).
+gettime s "|%d|%#d|"    ; |25|25| (Today is 25th).
 </pre>
 
 <h2>See also</h2>

Modified: trunk/doc/ja/html/macro/command/getdate.html
===================================================================
--- trunk/doc/ja/html/macro/command/getdate.html	2012-07-24 14:41:00 UTC (rev 4971)
+++ trunk/doc/ja/html/macro/command/getdate.html	2012-07-25 11:29:28 UTC (rev 4972)
@@ -86,6 +86,10 @@
 tz="GMT"
 gettime s "%Y/%m/%d %H:%M:%S" tz
 messagebox s tz
+
+;\x96{\x93\xFA\x82̓\xFA\x82ɂ\xBF\x82\xF0\x8E擾\x82\xB7\x82\xE9\x81B
+gettime s "|%d|%#d|"    ; |07|7| (Today is 7th).
+gettime s "|%d|%#d|"    ; |25|25| (Today is 25th).
 </pre>
 
 <h2>\x8EQ\x8F\xC6</h2>



Ttssh2-commit メーリングリストの案内
Back to archive index