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

逛奔的蝸牛

我不聰明,但我會很努力

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

<?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>
            久久九九精品| 欧美午夜精品久久久久久孕妇| 开心色5月久久精品| 国产精品久久久久久av下载红粉| 亚洲高清av| 久久久99久久精品女同性| 在线一区二区三区四区五区| 欧美激情精品久久久久久变态| 黑人一区二区| 久久久无码精品亚洲日韩按摩| 亚洲午夜一区二区三区| 欧美日韩视频一区二区三区| 亚洲精品社区| 亚洲国产精品悠悠久久琪琪| 久久久久免费| 欧美激情亚洲激情| 国产精品毛片a∨一区二区三区|国 | 亚洲欧洲一二三| 久久亚洲不卡| 久久精品国产成人| 在线播放日韩| 欧美电影在线| 欧美日本不卡| 亚洲欧美清纯在线制服| 亚洲小说区图片区| 国产亚洲日本欧美韩国| 久久久久久久久久码影片| 久久经典综合| 亚洲人成网在线播放| 亚洲精品国产日韩| 欧美午夜电影一区| 午夜精品婷婷| 久久精品国产亚洲aⅴ| 在线观看91精品国产麻豆| 美女图片一区二区| 欧美精彩视频一区二区三区| 亚洲激情电影在线| 野花国产精品入口| 国内免费精品永久在线视频| 欧美成人午夜77777| 欧美精品成人91久久久久久久| 亚洲视屏一区| 欧美中文在线视频| 亚洲精品一区二区三区婷婷月| 亚洲精品一区二区三区在线观看| 国产精品久久福利| 蜜臀av性久久久久蜜臀aⅴ| 欧美激情视频一区二区三区在线播放| 亚洲福利国产| 亚洲最快最全在线视频| 国内精品久久久久久久果冻传媒| 欧美国产视频一区二区| 国产精品theporn| 美女尤物久久精品| 国产精品久久久久国产a级| 另类综合日韩欧美亚洲| 欧美性猛交视频| 欧美黄在线观看| 国产精品免费一区二区三区在线观看| 欧美一级夜夜爽| 欧美国产日韩一区二区在线观看| 亚洲欧美亚洲| 欧美高清日韩| 噜噜爱69成人精品| 国产精品一区在线观看| 亚洲国产精品t66y| 黑人操亚洲美女惩罚| 宅男噜噜噜66一区二区| 亚洲国产精品嫩草影院| 亚洲国产人成综合网站| 久久精品夜夜夜夜久久| 欧美人在线视频| 久久一本综合频道| 国产精品一区二区男女羞羞无遮挡 | 久久午夜激情| 国产精品美女在线| 亚洲毛片播放| 亚洲人体一区| 久久综合一区二区三区| 久久大逼视频| 欧美午夜视频一区二区| 91久久在线观看| 亚洲黄网站在线观看| 欧美一区二区在线免费观看| 亚洲一区综合| 欧美日韩卡一卡二| 亚洲黄色天堂| 亚洲精品国产拍免费91在线| 久久久久久九九九九| 久久久99精品免费观看不卡| 国产伦精品一区二区三区视频孕妇| 99re66热这里只有精品3直播 | 久久久999国产| 国产精品素人视频| 亚洲视频在线观看视频| 亚洲综合色丁香婷婷六月图片| 欧美日本免费| 亚洲美女精品成人在线视频| 最新中文字幕亚洲| 欧美国产极速在线| 亚洲欧洲一区二区在线播放| 亚洲精品专区| 欧美精品午夜视频| 亚洲免费电影在线| 亚洲午夜精品久久| 国产精品久久久久久久免费软件 | 99精品国产在热久久下载| 免费观看不卡av| 欧美激情欧美狂野欧美精品| 在线看不卡av| 欧美成人影音| 一卡二卡3卡四卡高清精品视频| 亚洲一区二区三区视频播放| 欧美色另类天堂2015| 亚洲视频在线免费观看| 欧美在线你懂的| 精品成人在线观看| 欧美高清在线精品一区| 亚洲精品中文字幕有码专区| 一本久道久久综合狠狠爱| 欧美日韩大片一区二区三区| 日韩一级黄色大片| 亚洲日本在线观看| 欧美日韩精品国产| 午夜激情久久久| 亚洲二区视频在线| 亚洲欧美日韩国产一区| 久久综合久久综合这里只有精品| 在线一区二区视频| 国产精品视频专区| 久久综合伊人| 欧美成人69av| 在线一区欧美| 国产精品嫩草99a| 久久亚洲精品一区| 久久久久久亚洲综合影院红桃| 国产欧美精品日韩精品| 一区二区三区蜜桃网| 老司机一区二区| 欧美一级精品大片| 欧美aⅴ99久久黑人专区| 国产日韩欧美在线播放不卡| 在线视频国产日韩| 亚洲男女自偷自拍| 免费h精品视频在线播放| 欧美精品三级| 日韩视频在线观看| 噜噜噜91成人网| 99xxxx成人网| 免费一级欧美片在线播放| 亚洲视频网在线直播| 在线观看亚洲视频啊啊啊啊| 欧美三级日本三级少妇99| 久久只精品国产| 欧美一级视频免费在线观看| 亚洲精品一区二| 亚洲美女在线看| 亚洲尤物视频在线| 噜噜噜在线观看免费视频日韩| 欧美亚洲尤物久久| 亚洲国产一区二区a毛片| 国产精品亚洲综合天堂夜夜| 日韩视频中午一区| 好吊视频一区二区三区四区| 欧美一级在线播放| 久热国产精品| 国产女人精品视频| 日韩一级裸体免费视频| 亚洲黄色成人| 欧美在线欧美在线| 亚洲综合视频网| 欧美日韩在线高清| 欧美好骚综合网| 在线观看一区| 亚洲精品久久7777| 亚洲一区欧美激情| 欧美精品在线观看91| 亚洲天堂成人| 午夜精品一区二区三区在线| 国模私拍一区二区三区| 国产无一区二区| 欧美一区二区三区在线免费观看| 亚洲国产精品久久久久婷婷老年 | 亚洲卡通欧美制服中文| 亚洲欧美激情一区二区| 国产精品国产三级国产aⅴ入口| 精品动漫3d一区二区三区免费| 欧美大片免费| 欧美日韩亚洲不卡| 欧美亚洲三区| 国产麻豆视频精品| 亚洲欧美一区二区三区在线| 亚洲美女啪啪| 国产精品老女人精品视频| 欧美a级理论片| 亚洲人成小说网站色在线| 亚洲国产色一区| 国产精品久久激情| 欧美国产大片| 国产精品高潮粉嫩av|