Re: clock scan
- From: John Mercogliano <jxmercog@xxxxxxxxxxx>
- Date: Thu, 31 Jan 2008 09:20:17 -0800 (PST)
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
.
- References:
- clock scan
- From: Matthias Meier
- Re: clock scan
- From: suchenwi
- clock scan
- Prev by Date: Re: Why doesn't foreach return a value
- Next by Date: Re: Why doesn't foreach return a value
- Previous by thread: Re: clock scan
- Next by thread: Tcl 8.5 and Expect
- Index(es):