[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: how to extract start time and end time from the CLOCK: pro
From: |
Seweryn Kokot |
Subject: |
[Orgmode] Re: how to extract start time and end time from the CLOCK: property |
Date: |
Fri, 05 Sep 2008 00:03:41 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Carsten Dominik <address@hidden> writes:
>
> I don't know how to do this, byt you could use a regular expression to
> extract the time instead of a fixed substring, like
>
> (if (and value (>= (length value) 40)
> (string-match "[0-9]+:[0-9]+" value))
> (mach-string 0 value)
> nil ; there was no value, or it was a short string
>
>
> HTH
>
> - Carsten
Thanks, as always it helped!
regards,
Seweryn