|
PHP5中文手册
px_date2string(PECL paradox:1.4.0-1.4.1) px_date2string — Converts a date into a string. 说明
string px_date2string
( resource $pxdoc
, int $value
, string $format
)
Turns a date as it stored in the paradox file into human readable format. Paradox dates are the number of days since 1.1.0000. This function is just for convenience. It can be easily replaced by some math and the calendar functions as demonstrated in the example below. 参数
返回值如果成功则返回 TRUE,失败则返回 FALSE。 范例
Example#1 Turn a paradox date into a human readable form
<?php 上例将输出:
|