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

逛奔的蝸牛

我不聰明,但我會很努力

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

<?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>
            免费成人黄色av| 久久免费一区| 亚洲欧美日韩精品在线| 亚洲尤物在线| 国产精品有限公司| 久久精品夜夜夜夜久久| 男女av一区三区二区色多| 一区二区三区久久| 国产精品男gay被猛男狂揉视频| 99国内精品久久| 欧美伊人久久久久久午夜久久久久| 国产毛片精品国产一区二区三区| 欧美在线free| 一区二区三区精密机械公司| 午夜精品www| 91久久香蕉国产日韩欧美9色| 国产精品视频免费在线观看| 免费不卡中文字幕视频| 亚洲综合成人婷婷小说| 91久久国产综合久久91精品网站| 亚洲欧洲另类| 亚洲电影成人| 国产美女高潮久久白浆| 欧美精品v日韩精品v国产精品| 欧美一区在线视频| 亚洲在线观看免费视频| 亚洲最新合集| 日韩午夜在线| 亚洲性感激情| 亚洲无线视频| 亚洲天堂av在线免费| 日韩香蕉视频| 99香蕉国产精品偷在线观看| 亚洲黑丝在线| 亚洲国产精品精华液网站| 亚洲第一搞黄网站| 亚洲国产激情| 久久亚洲精品欧美| 日韩午夜剧场| 久久综合狠狠综合久久综合88| 欧美精品一区二区在线播放| 先锋资源久久| 亚洲免费av片| 美日韩免费视频| 夜夜嗨一区二区| 亚洲女同精品视频| 亚洲美女av电影| 亚洲久久在线| 欧美精品在线网站| 亚洲国产日本| 日韩午夜精品| 欧美日韩一区二区三区视频| 亚洲精品小视频| 亚洲一区二区久久| 欧美性一区二区| 亚洲一区二区三区免费观看| 亚洲免费小视频| 国产精品五月天| 欧美一区二区三区婷婷月色 | 91久久一区二区| 麻豆freexxxx性91精品| 亚洲高清一二三区| 一区二区三区四区五区精品| 欧美日韩一区二区视频在线观看| 日韩亚洲国产欧美| 午夜精品久久久久久久99黑人| 国产精品一区二区三区四区| 欧美一区二区三区在线看| 久久久免费精品视频| 在线观看视频日韩| 欧美欧美午夜aⅴ在线观看| 99国产精品久久久| 欧美专区福利在线| 亚洲黄色有码视频| 欧美午夜理伦三级在线观看| 午夜精品久久久久| 免费观看成人网| 在线综合+亚洲+欧美中文字幕| 国产精品丝袜91| 美女诱惑黄网站一区| 亚洲素人在线| 欧美二区乱c少妇| 亚洲欧美日韩一区在线| 依依成人综合视频| 欧美性生交xxxxx久久久| 久久久www成人免费无遮挡大片| 欧美~级网站不卡| 亚洲欧美一区二区视频| 在线观看久久av| 国产精品h在线观看| 久久久美女艺术照精彩视频福利播放 | 亚洲精品国产精品国产自| 亚洲影音先锋| 亚洲二区在线观看| 欧美性大战xxxxx久久久| 久久精品一区中文字幕| 日韩视频在线你懂得| 久久久久久久久久久一区| 亚洲乱码一区二区| 国产亚洲成年网址在线观看| 欧美精品在线网站| 久久久综合网站| 亚洲欧美日韩国产综合精品二区| 欧美激情一区二区三区蜜桃视频| 亚洲欧美在线网| 99国产精品久久久久久久成人热| 国产主播精品在线| 国产精品美女午夜av| 欧美精品1区2区| 蜜桃av一区二区| 久久久精彩视频| 欧美伊人久久久久久午夜久久久久| 日韩一级网站| 亚洲国产高清高潮精品美女| 久久精品在线播放| 午夜欧美视频| 一区二区三区成人| 亚洲精品无人区| 91久久综合| 亚洲国产另类精品专区| 精品福利av| 激情综合网址| 黄色成人在线网址| 国产一区视频在线观看免费| 国产精品亚洲综合| 国产精品亚洲综合久久| 国产精品欧美激情| 国产精品成人观看视频免费| 欧美日韩大片| 欧美日韩裸体免费视频| 欧美精品一区二区三区四区| 欧美大片免费久久精品三p| 免费看的黄色欧美网站| 久久躁日日躁aaaaxxxx| 久久免费高清视频| 麻豆精品精品国产自在97香蕉| 久久高清免费观看| 久久九九免费| 老司机午夜精品视频| 久久天天躁夜夜躁狠狠躁2022| 久久久精品免费视频| 久久久久国产精品一区| 久久久国产成人精品| 久久久久国内| 老司机成人在线视频| 欧美大香线蕉线伊人久久国产精品| 欧美插天视频在线播放| 欧美二区在线观看| 欧美日韩国产电影| 国产精品xnxxcom| 国产模特精品视频久久久久| 国产视频精品xxxx| 影音先锋成人资源站| 亚洲国产精品一区在线观看不卡| 尤妮丝一区二区裸体视频| 亚洲激情国产| 亚洲视频一二三| 久久久91精品国产一区二区精品| 久热精品视频在线观看| 欧美成人精品| 99精品国产99久久久久久福利| 亚洲视频第一页| 久久精品盗摄| 欧美精品在线视频观看| 国产精品日日摸夜夜摸av| 好看的日韩视频| 夜夜躁日日躁狠狠久久88av| 小黄鸭精品aⅴ导航网站入口| 亚洲福利视频在线| 99国产麻豆精品| 欧美一区影院| 亚洲国产精品一区二区三区| 夜夜嗨av一区二区三区免费区| 亚洲伊人伊色伊影伊综合网| 久久精品欧美日韩| 欧美乱妇高清无乱码| 国产欧亚日韩视频| 亚洲精品乱码久久久久久黑人| 亚洲综合导航| 欧美不卡一区| 亚洲影音一区| 欧美不卡视频| 国产综合色一区二区三区| 99精品视频免费观看| 久久精品一二三| 亚洲看片一区| 久久全国免费视频| 国产精品免费网站在线观看| 亚洲福利视频三区| 欧美中文在线观看| 亚洲精品一区久久久久久| 欧美专区18| 国产精品v欧美精品v日韩精品| 在线成人亚洲| 欧美影院精品一区| 99精品99| 欧美精品v日韩精品v国产精品| 国产日韩专区在线| 亚洲综合色视频| 亚洲精品乱码久久久久久日本蜜臀 |