我试图弄清楚如何使用组织模式来计算两个时间点之间的持续时间,尽管我想出如何针对两个不同的日期进行计算,但是当我添加时间分量时,一个答案,但我宁愿在
中找到答案[XX天,xx小时,xx分钟
| Start | End | Duration |
|------------------------+------------------------+----------|
| <2013-07-16 Tue 15:15> | <2013-07-17 Wed 11:15> | 0.833333 |
| | | 0 |
#+TBLFM: $3=(date(<$2>)-date(<$1>))
您可以使用T标志使用HH:MM [:SS]形式。示例:
| Start | End | Days | HH:MM:SS |
|------------------------+------------------------+----------+----------|
| <2013-07-15 Tue 10:15> | <2013-07-17 Wed 11:15> | 2.041667 | 49:00:00 |
| | | 0 | 00:00:00 |
#+TBLFM: $3=date(<$2>)-date(<$1>)::$4=60*60*24*$3;T