mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-22 04:39:55 +09:00
시간 갭 처리
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3363 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
86bb2bd93b
commit
12053df558
2 changed files with 21 additions and 15 deletions
|
|
@ -32,7 +32,7 @@
|
|||
**/
|
||||
function dateFormatChange($dates, $plus = 0) {
|
||||
$dates = sprintf("%s-%s-%s %s:%s:%s+0", substr($dates,0,4), substr($dates,4,2), substr($dates,6,2), substr($dates,9,2), substr($dates,11,2), substr($dates,13,2));
|
||||
$dates = date("Y-m-d H:i:s", strtotime($dates) + $plus);
|
||||
$dates = date("Y-m-d H:i:s", strtotime($dates) + $plus + zgap());
|
||||
return $dates;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue