PHP 手册
上一页 |  | 下一页

# date_time_set

(no version information, might be only in CVS)

date_time_set -- Sets the time

## 说明

void date_time_set ( DateTime object, int hour, int minute [, int second] )
void DateTime::setTime ( int hour, int minute [, int second] )

## 参数

`object`

  DateTime object.

`hour`

  Hour of the time.

`minute`

  Minute of the time.

`second`

  Second of the time.

## 返回值

Returns `NULL` on success or `FALSE` on failure.

## 参见

date_date_set()

上一页 | 起始页 | 下一页
date_sunset | 上一级 | date_timezone_get