青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

逛奔的蝸牛

我不聰明,但我會很努力

   ::  :: 新隨筆 ::  ::  :: 管理 ::

<?php

header("Content-Type:text/html; charset=utf-8");


echo (strtotime("2010-10-28 10:52:21")); // MySQL格式的字符串轉換成秒數

echo "<br/>";

echo (strtotime("2010-10-01 00:00:00"));

echo "<br/>";

$d = date("Y-m-d H:i:s", time()); // 秒數轉換成MySQL格式的timestamp

echo $d;

?>

From: http://php.net/manual/en/function.date.php

 Parameters

format

The format of the outputted date string. See the formatting options below. There are also severalpredefined date constants that may be used instead, so for example DATE_RSS contains the format string'D, d M Y H:i:s'.

The following characters are recognized in the format parameter string
formatcharacterDescriptionExample returned values
Day------
dDay of the month, 2 digits with leading zeros01 to 31
DA textual representation of a day, three lettersMon through Sun
jDay of the month without leading zeros1 to 31
l(lowercase 'L')A full textual representation of the day of the weekSunday throughSaturday
NISO-8601 numeric representation of the day of the week (added in PHP 5.1.0)1 (for Monday) through 7 (for Sunday)
SEnglish ordinal suffix for the day of the month, 2 charactersstndrd or th. Works well with j
wNumeric representation of the day of the week0 (for Sunday) through 6 (for Saturday)
zThe day of the year (starting from 0)0 through 365
Week------
WISO-8601 week number of year, weeks starting on Monday (added in PHP 4.1.0)Example: 42 (the 42nd week in the year)
Month------
FA full textual representation of a month, such as January or MarchJanuary throughDecember
mNumeric representation of a month, with leading zeros01 through 12
MA short textual representation of a month, three lettersJan through Dec
nNumeric representation of a month, without leading zeros1 through 12
tNumber of days in the given month28 through 31
Year------
LWhether it's a leap year1 if it is a leap year,0 otherwise.
oISO-8601 year number. This has the same value as Y, except that if the ISO week number (W) belongs to the previous or next year, that year is used instead. (added in PHP 5.1.0)Examples: 1999 or2003
YA full numeric representation of a year, 4 digitsExamples: 1999 or2003
yA two digit representation of a yearExamples: 99 or 03
Time------
aLowercase Ante meridiem and Post meridiemam or pm
AUppercase Ante meridiem and Post meridiemAM or PM
BSwatch Internet time000 through 999
g12-hour format of an hour without leading zeros1 through 12
G24-hour format of an hour without leading zeros0 through 23
h12-hour format of an hour with leading zeros01 through 12
H24-hour format of an hour with leading zeros00 through 23
iMinutes with leading zeros00 to 59
sSeconds, with leading zeros00 through 59
uMicroseconds (added in PHP 5.2.2)Example: 654321
Timezone------
eTimezone identifier (added in PHP 5.1.0)Examples: UTC,GMTAtlantic/Azores
I (capital i)Whether or not the date is in daylight saving time1 if Daylight Saving Time, 0 otherwise.
ODifference to Greenwich time (GMT) in hoursExample: +0200
PDifference to Greenwich time (GMT) with colon between hours and minutes (added in PHP 5.1.3)Example: +02:00
TTimezone abbreviationExamples: ESTMDT...
ZTimezone offset in seconds. The offset for timezones west of UTC is always negative, and for those east of UTC is always positive.-43200 through50400
Full Date/Time------
cISO 8601 date (added in PHP 5)2004-02-12T15:19:21+00:00
r» RFC 2822 formatted dateExample: Thu, 21 Dec 2000 16:01:07 +0200
USeconds since the Unix Epoch (January 1 1970 00:00:00 GMT)See also time()

 

Unrecognized characters in the format string will be printed as-is. The Z format will always return 0 when using gmdate().

Note:

Since this function only accepts integer timestamps the u format character is only useful when using the date_format() function with user based timestamps created with date_create().

 

timestamp

The optional timestamp parameter is an integer Unix timestamp that defaults to the current local time if atimestamp is not given. In other words, it defaults to the value of time().

posted on 2010-11-12 05:40 逛奔的蝸牛 閱讀(2192) 評論(0)  編輯 收藏 引用 所屬分類: 其他編程
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            免费h精品视频在线播放| 亚洲精品日韩久久| 国产精品99免费看 | 国产伦精品一区二区三区| 免费观看30秒视频久久| 午夜一区在线| 亚洲欧美在线网| 亚洲欧美久久久久一区二区三区| 在线视频日本亚洲性| 日韩亚洲欧美一区| 日韩一区二区精品在线观看| 亚洲精品一品区二品区三品区| 美女福利精品视频| 久久久久一区二区三区| 久久久久久亚洲精品不卡4k岛国| 久久精品123| 久久艳片www.17c.com| 麻豆精品视频| 欧美大片免费观看| 亚洲国产综合在线看不卡| 欧美大片网址| 亚洲精品字幕| 欧美成人国产一区二区| 久久国产精品久久国产精品| 欧美国产欧美亚洲国产日韩mv天天看完整 | 欧美日韩在线播放| 国产精品久久二区二区| 国产精品一区二区久久| 国产自产v一区二区三区c| 国产亚洲精品久| 含羞草久久爱69一区| 国产午夜精品美女毛片视频| 在线成人激情视频| 亚洲美女视频在线免费观看| 亚洲色图制服丝袜| 久久精品免费电影| 欧美成年网站| 亚洲伦理在线| 性高湖久久久久久久久| 久久人人97超碰精品888| 欧美xx视频| 国产精品欧美日韩一区二区| 狠狠88综合久久久久综合网| 日韩视频不卡中文| 欧美在线一级va免费观看| 久久天天躁狠狠躁夜夜爽蜜月| 久久av一区二区| 久热国产精品视频| 99国产精品久久久久久久成人热| 中文高清一区| 一本高清dvd不卡在线观看| 亚洲欧美99| 欧美国产日韩一区二区三区| 欧美性一二三区| 影音先锋久久精品| 亚洲欧美精品| 亚洲国产精品久久久久秋霞不卡| 亚洲欧美激情在线视频| 欧美美女喷水视频| 亚洲大片在线观看| 欧美中在线观看| 亚洲欧洲日韩综合二区| 久久精品国产亚洲a| 欧美午夜不卡在线观看免费| 亚洲国产99| 久久久激情视频| 中国av一区| 欧美精品一区二区三区四区| 欧美一区二区三区视频免费播放| 欧美精品久久久久久| 日韩一级大片在线| 欧美黄色一区| 欧美a级片网站| 亚洲国产精品ⅴa在线观看| 久久精品日韩欧美| 麻豆freexxxx性91精品| 在线不卡中文字幕播放| 免费在线欧美黄色| 久久人体大胆视频| 在线观看日韩精品| 日韩午夜电影| 欧美视频1区| 亚洲尤物视频在线| 免费欧美在线视频| 亚洲在线日韩| 欧美大片第1页| 国产视频精品免费播放| 欧美在线视频全部完| 亚洲欧美日产图| 国产日韩欧美黄色| 久久亚洲精选| 久久视频精品在线| 亚洲第一视频| 亚洲国内欧美| 欧美日本网站| 亚洲欧美久久| 亚洲女同在线| 黄色成人免费观看| 久久久久青草大香线综合精品| 欧美亚洲三区| 亚洲成人在线网| 亚洲国产视频直播| 欧美日韩一区二区在线观看| 亚洲免费视频中文字幕| 欧美一级在线播放| 亚洲欧洲午夜| 国产精品99久久99久久久二8| 国产精品影院在线观看| 老司机aⅴ在线精品导航| 免费观看日韩| 亚洲——在线| 欧美一区二区三区免费视| 精品69视频一区二区三区| 欧美亚洲一级| 一区二区三区国产精品| 国产一区二区三区在线观看精品| 免费观看在线综合色| 欧美日韩国产麻豆| 久久久久久亚洲精品杨幂换脸| 美女主播视频一区| 亚洲永久免费| 美女视频一区免费观看| 亚洲一区网站| 男人的天堂成人在线| 欧美伊久线香蕉线新在线| 蜜桃av一区| 久久久精品久久久久| 欧美日韩免费精品| 美女在线一区二区| 国产精品久久久久77777| 欧美大片一区二区三区| 亚洲综合色丁香婷婷六月图片| 亚洲第一黄色| 亚洲欧美影音先锋| 一本色道久久88亚洲综合88| 欧美一区网站| 亚洲欧美www| 欧美精品在线免费播放| 亚洲欧美国产精品桃花| 欧美精品情趣视频| 亚洲一区二区三区视频| 欧美日本在线看| 欧美激情1区2区| 国产精品久久久久999| 99re热这里只有精品免费视频| 在线观看亚洲精品| 巨乳诱惑日韩免费av| 久久婷婷久久一区二区三区| 国产精品国产三级国产普通话99| 91久久精品美女高潮| 亚洲国产婷婷香蕉久久久久久99 | 午夜亚洲一区| 久久嫩草精品久久久久| 亚洲视频免费| 欧美精品九九| 日韩视频中文字幕| 日韩视频免费观看高清完整版| 久久久噜噜噜久久| 欧美 日韩 国产在线| 日韩图片一区| 欧美专区在线观看| 久久全国免费视频| 国产日韩精品在线播放| 欧美一区二区在线看| 一区二区三区四区五区视频| 麻豆精品91| 日韩图片一区| 午夜伦理片一区| 亚洲欧美一区二区三区久久| 久久久av水蜜桃| 国内精品嫩模av私拍在线观看| 欧美大片18| 亚洲精品乱码久久久久久蜜桃91| 嫩草影视亚洲| 亚洲国产美国国产综合一区二区| 欧美激情bt| 亚洲国产美女| 亚洲香蕉视频| 一本色道久久加勒比88综合| 亚洲欧美偷拍卡通变态| 国产精品尤物| 午夜视黄欧洲亚洲| 久久久久国产精品一区三寸| 伊人久久婷婷| 欧美高清在线一区| 夜夜躁日日躁狠狠久久88av| 性久久久久久久久久久久| 激情综合久久| 欧美日韩亚洲精品内裤| 美女黄色成人网| 一片黄亚洲嫩模| 欧美日本中文字幕| 亚洲欧洲在线播放| 亚洲一区二区视频在线| 亚洲一区二区视频| 国模私拍一区二区三区| 欧美午夜电影完整版| 久久gogo国模啪啪人体图| 99av国产精品欲麻豆| 一区二区三区产品免费精品久久75 |