テストコード |
実行結果 |
備考 |
{$created_at|date_format:'%a'} |
Fri |
短い曜日 |
{$created_at|date_format:'%A'} |
Friday |
長い曜日 |
{$created_at|date_format:'%d'} |
09 |
day(2桁) |
{$created_at|date_format:'%e'} |
9 |
day(2桁・0の代わりに空白) |
{$created_at|date_format:'%j'} |
------- |
エラー |
{$created_at|date_format:'%u'} |
6 |
現在の曜日を番号で返す(1~7・日~土) |
{$created_at|date_format:'%w'} |
5 |
現在の曜日を番号で返す(0~6・日~土) |
{$created_at|date_format:'%U'} |
------- |
エラー |
{$created_at|date_format:'%V'} |
------- |
エラー |
{$created_at|date_format:'%W'} |
------- |
エラー |
{$created_at|date_format:'%b'} |
Sep |
短い月 |
{$created_at|date_format:'%B'} |
September |
長い月 |
{$created_at|date_format:'%h'} |
Sep |
短い月 |
{$created_at|date_format:'%m'} |
09 |
month(2桁) |
{$created_at|date_format:'%C'} |
21 |
世紀(年を100で割り、整数に丸めたもの。00から99) |
{$created_at|date_format:'%g'} |
111 |
1900年から何年後か |
{$created_at|date_format:'%G'} |
2011 |
西暦 |
{$created_at|date_format:'%y'} |
111 |
1900年から何年後か |
{$created_at|date_format:'%Y'} |
2011 |
西暦 |
{$created_at|date_format:'%H'} |
15 |
hour(24時間・2桁) |
{$created_at|date_format:'%I'} |
03 |
hour(12時間・2桁) |
{$created_at|date_format:'%l'} |
3 |
hour(12時間・2桁・0の代わりに空白) |
{$created_at|date_format:'%M'} |
30 |
minute(2桁) |
{$created_at|date_format:'%p'} |
PM |
午前/午後 |
{$created_at|date_format:'%P'} |
pm |
午前/午後(小文字) |
{$created_at|date_format:'%r'} |
03:30:18 PM |
時:分:秒 午前/午後 |
{$created_at|date_format:'%R'} |
15:30 |
時:分 (24時間) |
{$created_at|date_format:'%S'} |
18 |
秒(2桁) |
{$created_at|date_format:'%T'} |
15:30:18 |
時:分:秒(24時間) |
{$created_at|date_format:'%X'} |
15:30:18 |
時:分:秒(24時間) |
{$created_at|date_format:'%z'} |
GMT |
グリニッジ標準時の略称を得る |
{$created_at|date_format:'%Z'} |
GMT |
グリニッジ標準時の略称を得る |
{$created_at|date_format:'%c'} |
Fri Sep 09 2011 15:30:18 GMT+0900 (東京 (標準時)) |
ローカル時刻に変換したもの。文字列はマシンの設定により異なる。 |
{$created_at|date_format:'%D'} |
09/09/111 |
日/月/年 |
{$created_at|date_format:'%F'} |
2011-09-09 |
年-月-日 |
{$created_at|date_format:'%s'} |
1315549818 |
1900年1月1日から何秒後 |
{$created_at|date_format:'%x'} |
Friday, September 09, 2011 |
|
{$created_at|date_format:'%n'} |
(改行コード) |
|
{$created_at|date_format:'%t'} |
(タブ) |
|
{$created_at|date_format:'%k'} |
2011/09/09 15:30:18 |
詳細な日時 |
{$created_at|date_format:'%K'} |
15:30 |
当日中は時刻のみ表示し、それ以前は「月/日 時:分」 |
{$created_at|date_format:'%L'} |
2011/09/09 |
|
{$created_at|date_format:'%O'} |
9/9 |
|
{$created_at|date_format:'%E'} |
9th |
日付 |
{$created_at|date_format:'%q'} |
9 |
月(桁揃え無し) |
{$created_at|date_format:'%o'} |
9 |
日(桁揃え無し) |
{$created_at|date_format:'%i'} |
15 |
時(桁揃え無し) |
{$created_at|date_format:'%Q'} |
30 |
分(桁揃え無し) |
{$created_at|date_format:'%f'} |
18 |
秒(桁揃え無し) |
{$(テストコード)} |
結果 |
説明 |
screen_name |
Janetter_jp |
ユーザー名 |
name |
Janetter |
名前(プロフィール) |
id |
191728700 |
user_id(整数) |
id_str |
191728700 |
user_id(文字列) |
created_at |
Fri Sep 17 05:30:49 +0000 2010 |
アカウント登録日 |
protected |
false |
ツイートを非公開にしてるか |
verified |
false |
公認アカウントか |
following |
false |
フォローしてるか |
location |
Osaka, Japan |
位置情報(プロフィール) |
url |
http://janetter.net/ |
Webサイト(プロフィール) |
description |
Twitterクライアント「Jan(省略) |
自己紹介 |
statuses_count |
8551 |
ツイート数 |
friends_count |
51293 |
フォローしている数 |
followers_count |
52902 |
フォローされている数 |
listed_count |
1428 |
リストされてる数 |
favourites_count |
155 |
お気に入りの数 |
show_all_inline_media |
false |
「投稿された写真とビデオをすべて表示する」が有効か |
contributors_enabled |
false |
Twitterのライター機能を使用しているかどうか |
follow_request_sent |
false |
鍵をかけている相手にフォロー申請してるか |
geo_enabled |
false |
ツイートに位置情報をつけてるか |
is_translator |
false |
Twitter Translatorの翻訳者として登録しているか(?) |
notifications |
false |
ツイートをメール受信するようにしているか |
lang |
en |
使用言語 |
time_zone |
Osaka |
設定しているタイムゾーンまたは地域 |
utc_offset |
32400 |
UTC(協定世界時)との時差 |
profile_image_url_bigger |
http://a0.twimg.com/(省略)_reasonably_small.png |
中サイズのアイコン(128x128) |
profile_image_url_original |
http://a0.twimg.com/(省略) |
元の大きさのアイコン |
statuses_count_split |
8,563 |
ツイート数(三桁区切り) |
friends_count_split |
51,439 |
フォローしている数(三桁区切り) |
followers_count_split |
52,987 |
※省略(三桁区切り) |
listed_count_split |
1,431 |
※省略(三桁区切り) |
friends_count_split |
51,439 |
※省略(三桁区切り) |
id_split |
191,728,700 |
user_idを#000,000,000で表示 |
myprofile |
false |
自分のプロフィール画面かどうか |
default_profile |
true |
ページデザインをデフォルトのままにしているか |
default_profile_image |
false |
たまごアイコン |
profile_background_color |
C0DEED |
※省略 |
profile_background_image_url |
http://a0.twimg.com/(省略) |
※省略 |
profile_background_image_url_https |
https://si0.twimg.com/(省略) |
※省略 |
profile_background_tile |
false |
※省略 |
profile_image_url |
http://a0.twimg.com/(省略)_normal.png |
小アイコン(48x48) |
profile_image_url_https |
https://si0.twimg.com/(省略)_normal.png |
小アイコン(48x48) |
profile_link_color |
0084B4 |
※省略 |
profile_sidebar_border_color |
C0DEED |
※省略 |
profile_sidebar_fill_color |
DDEEF6 |
※省略 |
profile_text_color |
333333 |
※省略 |
profile_use_background_image |
true |
※省略 |
status |
(後述) |
|
名前 |
結果 |
説明 |
user.screen_name |
※省略 |
※省略 |
user.name |
※省略 |
※省略 |
user.id |
※省略 |
※省略 |
user.id_str |
※省略 |
※省略 |
user.created_at |
※省略 |
※省略 |
user.protected |
※省略 |
※省略 |
user.verified |
※省略 |
※省略 |
user.following |
※省略 |
自分が相手をフォローしてるか |
user.location |
※省略 |
※省略 |
user.url |
※省略 |
※省略 |
user.description |
※省略 |
※省略 |
user.statuses_count |
※省略 |
※省略 |
user.friends_count |
※省略 |
※省略 |
user.followers_count |
※省略 |
※省略 |
user.listed_count |
※省略 |
※省略 |
user.favourites_count |
※省略 |
※省略 |
user.show_all_inline_media |
※省略 |
※省略 |
user.contributors_enabled |
※省略 |
※省略 |
user.follow_request_sent |
※省略 |
※省略 |
user.geo_enabled |
※省略 |
※省略 |
user.is_translator |
※省略 |
※省略 |
user.notifications |
※省略 |
※省略 |
user.lang |
※省略 |
※省略 |
user.time_zone |
※省略 |
※省略 |
user.utc_offset |
※省略 |
※省略 |
user.default_profile |
※省略 |
※省略 |
user.default_profile_image |
※省略 |
※省略 |
user.profile_background_color |
※省略 |
※省略 |
user.profile_background_image_url |
※省略 |
※省略 |
user.profile_background_image_url_https |
※省略 |
※省略 |
user.profile_background_tile |
※省略 |
※省略 |
user.profile_image_url |
※省略 |
※省略 |
user.profile_image_url_https |
※省略 |
※省略 |
user.profile_link_color |
※省略 |
※省略 |
user.profile_sidebar_border_color |
※省略 |
※省略 |
user.profile_sidebar_fill_color |
※省略 |
※省略 |
user.profile_text_color |
※省略 |
※省略 |
user.profile_use_background_image |
※省略 |
※省略 |
user.both_following |
※省略 |
相互フォローかどうか |
名前 |
結果 |
説明 |
retweeted_status.id |
※省略 |
※省略 |
retweeted_status.id_str |
※省略 |
※省略 |
retweeted_status.text |
※省略 |
※省略 |
retweeted_status.created_at |
※省略 |
RTされた元ツイートが投稿された時間 |
retweeted_status.source |
※省略 |
RTされた元ツイートの投稿につかったクライアント |
retweeted_status.geo |
※省略 |
※省略 |
retweeted_status.coordinates |
※省略 |
※省略 |
retweeted_status.place |
※省略 |
※省略 |
retweeted_status.favorited |
※省略 |
※省略 |
retweeted_status.retweeted |
※省略 |
※省略 |
retweeted_status.retweet_count |
※省略 |
※省略 |
retweeted_status.truncated |
※省略 |
※省略 |
retweeted_status.contributors |
※省略 |
※省略 |
retweeted_status.in_reply_to_screen_name |
※省略 |
※省略 |
retweeted_status.in_reply_to_status_id |
※省略 |
※省略 |
retweeted_status.in_reply_to_status_id_str |
※省略 |
※省略 |
retweeted_status.in_reply_to_user_id |
※省略 |
※省略 |
retweeted_status.in_reply_to_user_id_str |
※省略 |
※省略 |
retweeted_status.user |
(後述) |
|