【发布时间】:2009-09-22 11:07:20
【问题描述】:
Emacs Lisp 中是否有与PHP's strtotime function 类似的功能? (实际上 AFAIK 它实现了relative items of the GNU date input formats。)
我可以用 PHP 编写
echo strtotime("+2 months"); //1258891352
echo strtotime("-3 months +2 weeks"); //1246952239
返回相应的 UNIX 时间戳。
【问题讨论】:
标签: emacs lisp elisp strtotime