[Codeigniter-users] 日付ヘルパーについて

Zurück zum Archiv-Index

Kenji kenji****@club*****
2007年 12月 17日 (月) 13:09:11 JST


Kenji です。


On Sat, 15 Dec 2007 22:09:49 +0900
"Kenichi Ando" <neo.k****@gmail*****> wrote:

> bossatamaです。
> 
> 日付ヘルパーにおいて、
> /helpers/date_helper.html
> 
> 関数名:
> unix_to_human()/human_to_unix()
> 
> サンプル:
> $now = time();
> echo unix_to_human($now); // U.S. time, no seconds
> echo unix_to_human($now, TRUE, 'us'); // U.S. time with seconds
> echo unix_to_human($now, TRUE, 'eu'); // Euro time with seconds

> 日本のスタンダード書式を決めて 例:
> Y年m月d日 H:i:s
> がjaで帰ってくると良くないですか?その逆も。
> 
> これは実現可能な日本語版仕様だと思います。如何でしょうか。

あったらいいでしょうね。


// Kenji




Codeigniter-users メーリングリストの案内
Zurück zum Archiv-Index