Subj : NASA FDN
To : Sean Dennis
From : Janis Kracht
Date : Tue May 01 2018 09:07 am
> Hello Torsten,
> 13 Apr 18 20:35 at you wrote to Janis Kracht:
>> lol A date-command would be nice. ;-)
> Get JDeBP's 32-bit command line utilities package for OS/2. It has a real
> "date" command that doesn't prompt you; it just shows the date.
That's how Ubuntu's date command works... the command with no flags just
displays the date:
bbs@filegate:~$ date
Tue May 1 09:01:27 EDT 2018
I use it with various parameters depending on the script:
num=`date +%j --date=Friday`
pick=`expr substr $num 2 3`
year=`date +%Y`
Those lines are from my thursday makenl update script...
Take care,
Janis
--- BBBS/Li6 v4.10 Toy-3
* Origin: Prism bbs (1:261/38)