Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Day-of-year picker

2 views
Skip to first unread message

Frank

unread,
Sep 20, 2011, 3:34:59 PM9/20/11
to
http://webpages.charter.net/nightwalker/DatePicker.zip

Change the date to any day, month or year. Click compute. Day of year
will be shown.

A very tiny utility which has helped me while hunting files in UFCORS.

Freeware and virus free.

Let me know if I missed something!
Frank Looper

Jorgen Grahn

unread,
Sep 20, 2011, 3:47:27 PM9/20/11
to
On Tue, 2011-09-20, Frank wrote:
> http://webpages.charter.net/nightwalker/....zip
>
> Change the date to any day, month or year. Click compute. Day of year
> will be shown.
>
> A very tiny utility which has helped me while hunting files in UFCORS.

For Unix users, the functionality already exists:

% date -d2001-03-01 +%j
060
% date -d2000-03-01 +%j
061
% date -d2001-12-31 +%j
365

/Jorgen

--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .

Frank

unread,
Sep 20, 2011, 3:52:39 PM9/20/11
to
Well, that helps some of us! In Ubuntu, I would just run the little
app via Wine. But then, that's not "real" Unix, eh?

Thanks for the snippet. :-)

I just changed a few lines of code in a tiny DotNet project. I have
been aggravated more than once because I had to do some mental
gymnastics for the day number, and I thought other people might also
have ran into the same problem.

Jorgen Grahn

unread,
Sep 21, 2011, 2:38:52 AM9/21/11
to
On Tue, 2011-09-20, Frank wrote:
> On Sep 20, 3:47 pm, Jorgen Grahn <grahn+n...@snipabacken.se> wrote:
>> On Tue, 2011-09-20, Frank wrote:
>> >http://webpages.charter.net/nightwalker/....zip
>>
>> > Change the date to any day, month or year. Click compute. Day of year
>> > will be shown.
>>
>> > A very tiny utility which has helped me while hunting files in UFCORS.
>>
>> For Unix users, the functionality already exists:
>>
>> % date -d2001-03-01 +%j
>> 060
>> % date -d2000-03-01 +%j
>> 061
>> % date -d2001-12-31 +%j
>> 365

> Well, that helps some of us! In Ubuntu, I would just run the little
> app via Wine. But then, that's not "real" Unix, eh?

As far as I'm concerned, Ubuntu and other Linux distributions are Unix.

In fact, the recipe above works on Linux, but may not work on other
Unices. Solaris date, for example, understands %j as day-of-year, but
you cannot specify the date you want to convert.

Frank

unread,
Sep 21, 2011, 11:06:53 AM9/21/11
to
Uh, not UFCORS. Standard CORS, where you are searching via an ftp site
by day numbers.

I'll enlarge this to show GPS week and some other stuff. Sometime. :-)

Frank

unread,
Sep 21, 2011, 11:05:26 AM9/21/11
to
I was just playing around. The old joke goes that Ubuntu is really
just Vista with cooler themes. Dumb, but...
0 new messages