David Zureick-Brown
David Zureick-Brown

Reputation: 715

Formatting dates in org mode

How do I format dates in emacs org-mode?

For example, in the following table, I would like the dates to appear as "Aug 29", or "Wed, Aug 29" rather than "<2012-08-29 Wed>"

#+ATTR_HTML: border="2" rules="all" frame="border" align="center" cellpadding="6"
|------+------------------+---------+-------|
| Week | Date             | Speaker | Title |
|------+------------------+---------+-------|
|    / | <>               | <>      | <>    |
|    0 | <2012-08-29 Wed> |         |       |
|    2 | <2012-09-05 Wed> |         |       |
|    3 | <2012-09-12 Wed> |         |       |
|    1 | <2012-09-19 Wed> |         |       |
|    4 | <2012-09-26 Wed> |         |       |
|    5 | <2012-10-03 Wed> |         |       |
|    6 | <2012-10-10 Wed> |         |       |
|    7 | <2012-10-17 Wed> |         |       |
|    8 | <2012-10-24 Wed> |         |       |
|    9 | <2012-10-31 Wed> |         |       |
|   10 | <2013-03-07 Thu> |         |       |
|------+------------------+---------+-------|
#+TBLFM: @3$1 = 0::$1 = @-1$1 + 1 ::@3$2 = <Aug 29, 2012>::$2 = @-1$2 + 7

Upvotes: 3

Views: 1479

Answers (1)

Juancho
Juancho

Reputation: 7372

Custom date format should help. It will show timestamps with your own custom formatting.

Upvotes: 3

Related Questions