Re: clock scan



On Jan 31, 3:54 am, suchenwi <richard.suchenwirth-
bauersa...@xxxxxxxxxxx> wrote:
Looks like just a weekday is understood as near future:

125 % clock format [clock scan "Monday"]
Mon Feb 04 00:00:00 W. Europe Standard Time 2008

if not the current day:
130 % clock format [clock scan "Thursday"]
Thu Jan 31 00:00:00 W. Europe Standard Time 2008

So if you shift it, "last week" or "1 week ago":

135 % clock format [clock scan "Monday 1 week ago"]
Mon Jan 28 00:00:00 W. Europe Standard Time 2008

Matthias,
I ran into the same senario when I needed a Sunday date, I used
the following command:
clock format [clock scan "Sunday last week" -base [clock scan
"saturday last week"]]

John
.