[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Testing if a scheduled date is prior to another date
From: |
Ihor Radchenko |
Subject: |
Re: Testing if a scheduled date is prior to another date |
Date: |
Mon, 30 Aug 2021 22:59:27 +0800 |
Tim Landscheidt <tim@tim-landscheidt.de> writes:
> Before I wade through the various functions to build a con-
> version chain, what is the best practice to compare time-
> stamp values with dates? (And if there is an org-mode func-
> tion that checks if the task at point is scheduled prior to
> another date, I'd appreciate pointers as well :-).)
You can try org-parse-time-string + org-element-timestamp-interpreter
from org.
Alternatively, you can use external 'ts library: ts-parse-org-element
Best,
Ihor