Skip to content

Commit 4a4649c

Browse files
author
linzhijun
committed
修改 README
1 parent cc89ec7 commit 4a4649c

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

README-EN.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,23 @@ Note 3: The function name with ▲ means that it is affected by `Excel Index`,
707707
<tr>
708708
<td>AddSeconds ★</td><td>AddSeconds(时间, 数值)<br>增加秒。</td> <td></td>
709709
</tr>
710+
<tr>
711+
<td>DateValue ★</td><td>DateValue(值, 数值)<br>转成时间<br>
712+
DateValue(文本/数值, 0) <br>解析,自动匹配到当前日期相近的日期<br>
713+
DateValue(文本, 1) <br>解析年月日文本<br>
714+
DateValue(数值, 2) <br>转成日期,Excel数值<br>
715+
DateValue(数值, 3) <br>转成日期,时间戳(毫秒)<br>
716+
DateValue(值数值, 4) <br>转成日期,时间戳(秒)<br>
717+
</td> <td></td>
718+
</tr>
719+
<tr>
720+
<td>Timestamp ★</td><td>DateValue(值[, 数值=0])<br>转成时间戳,默认为毫秒<br>
721+
Timestamp(时间, 0) <br>转成时间戳(毫秒)<br>
722+
Timestamp(时间, 1) <br>转成时间戳(秒)<br>
723+
</td> <td></td>
724+
</tr>
710725
</table>
726+
Note: The `UseLocalTime` attribute affects the conversion of `DateValue`/`Timestamp`. Set `true` to directly convert to local time.
711727

712728
#### Statistical function
713729
<table>

README.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,8 +703,23 @@ bool转数值,假为`0`,真为`1`。bool转字符串,假为`FALSE`,真
703703
<tr>
704704
<td>AddSeconds ★</td><td>AddSeconds(时间, 数值)<br>增加秒。</td> <td></td>
705705
</tr>
706+
<tr>
707+
<td>DateValue ★</td><td>DateValue(值, 数值)<br>转成时间<br>
708+
DateValue(文本/数值, 0) <br>解析,自动匹配到当前日期相近的日期<br>
709+
DateValue(文本, 1) <br>解析年月日文本<br>
710+
DateValue(数值, 2) <br>转成日期,Excel数值<br>
711+
DateValue(数值, 3) <br>转成日期,时间戳(毫秒)<br>
712+
DateValue(值数值, 4) <br>转成日期,时间戳(秒)<br>
713+
</td> <td></td>
714+
</tr>
715+
<tr>
716+
<td>Timestamp ★</td><td>DateValue(值[, 数值=0])<br>转成时间戳,默认为毫秒<br>
717+
Timestamp(时间, 0) <br>转成时间戳(毫秒)<br>
718+
Timestamp(时间, 1) <br>转成时间戳(秒)<br>
719+
</td> <td></td>
720+
</tr>
706721
</table>
707-
722+
注:`UseLocalTime`属性影响 `DateValue`/`Timestamp` 转换,设置`true`,直接转成本地时间。
708723

709724
#### 统计函数
710725
<table>

0 commit comments

Comments
 (0)