( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0009413888{main}( ).../index.php:0
20.11164264384Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.505113115640Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.505213115584Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.505313115960Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.505313115960Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.505413116056Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.505713154296require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.509513446656GKTemplate->__construct( ).../component.php:31
100.514313588176GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.514913632144require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0009413888{main}( ).../index.php:0
20.11164264384Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.505113115640Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.505213115584Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.505313115960Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.505313115960Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.505413116056Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.505713154296require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.509513446656GKTemplate->__construct( ).../component.php:31
100.516713755008GKTemplateMenu->getMenuType( ).../gk.framework.php:85
mysql TO_DAYS(date) 函数
Logo
Print this page

mysql TO_DAYS(date) 函数

TO_DAYS(date)

给定一个日期date, 返回一个天数 (从年份0开始的天数 )。

mysql> SELECT TO_DAYS(950501);

-> 728779

mysql> SELECT TO_DAYS(‘1997-10-07′);

-> 729669

TO_DAYS() 不用于阳历出现(1582)前的值,原因是当日历改变时,遗失的日期不会被考虑在内。

请记住, MySQL“日期和时间类型”中的规则将日期中的二位数年份值转化为四位。例如,  ‘1997-10-07′和 ‘97-10-07′ 被视为同样的日期:

mysql> SELECT TO_DAYS(‘1997-10-07′), TO_DAYS(‘97-10-07′);

-> 729669, 729669

对于1582 年之前的日期(或许在其它地区为下一年 ), 该函数的结果实不可靠的。

Last modified onSunday, 14 October 2012 04:07

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0004414360{main}( ).../index.php:0
20.09424264856Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09424264856Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.255211455896Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.255811480224Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.256411535552Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.256611562952require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.263711962584K2ControllerItem->execute( ).../k2.php:64
90.263711962584K2ControllerItem->display( ).../BaseController.php:710
100.271812613288K2ControllerItem->display( ).../item.php:78
110.271812613288K2ControllerItem->display( ).../controller.php:19
120.275312984328Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.278513004696K2ViewItem->display( ).../ViewController.php:102
140.344715774640K2ViewItem->display( ).../view.html.php:742
150.344715774640K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.346115947576include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in MYSQL
  • Read 4095 times

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0004414360{main}( ).../index.php:0
20.09424264856Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09424264856Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.255211455896Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.255811480224Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.256411535552Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.256611562952require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.263711962584K2ControllerItem->execute( ).../k2.php:64
90.263711962584K2ControllerItem->display( ).../BaseController.php:710
100.271812613288K2ControllerItem->display( ).../item.php:78
110.271812613288K2ControllerItem->display( ).../controller.php:19
120.275312984328Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.278513004696K2ViewItem->display( ).../ViewController.php:102
140.344715774640K2ViewItem->display( ).../view.html.php:742
150.344715774640K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.346115947576include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.