首页 WordPress函数大全 human_readable_duration()

human_readable_duration()

2020-05-02 / 5893阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

human_readable_duration( string $duration = '' )

Convert a duration to human readable format.

描述

参数

$duration

(string)
(Optional)
Duration will be in string format (HH:ii:ss) OR (ii:ss), with a possible prepended negative sign (-).

Default value: ''

返回

(string|false) A human readable duration string, false on failure.

大家谈论
    我的见解