Salome Soedergran writes:
> Hi everybody
>
> How can I make orgmode to give me the weekday of a specific date?
> I have a list (org-table) with students' names and dates of birth that looks
> like this:
> |--+---+--+---+-+-+-|
> | Name | Firstname | year | mon
Hi Salome,
The decode-time function returns a list that includes the day-of-week as
a number from 0-6. You'll have to give it an encoded time, which you
can use encode-time for.
A wild idea would be to use the shell "date" command, which is overkill
for this, but I just happen to have this code
Hi everybody
How can I make orgmode to give me the weekday of a specific date?
I have a list (org-table) with students' names and dates of birth that looks
like this:
|--+---+--+---+-+-+-|
| Name | Firstname | year | month | day | age | weekday |
|--+--