| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Some over haching |
Hi Gert,
>I just come to send out some files here Thursday evening several times and wit
> day number for Friday.
> This while I was trying out to make some updated daily nodelst files for stn
> and pasnet.
>The problem is that use of julian day for Europe and US only works early in th
> morning like between midnight and midday.
> The best time to use julian day is do it when the world have the same day
> number else have one to manage it with the number to be like ${num}-1 so the
> number get the right digit when it shall work automatic.
I haven't had a problem with the date, Gert..
I use this in my script:
num=`date +%j --date=Friday`
pick=`expr substr $num 2 3`
year=`date +%Y`
lastwk=$(($num -7))
lpick=`expr substr $lastwk 2 3`
Then I use the appropriate var where I need it.
Hope this helps..
Take care,
Janis
--- BBBS/Li6 v4.10 Toy-3
* Origin: Prism bbs (1:261/38)SEEN-BY: 18/200 34/999 90/1 116/18 120/302 123/500 128/187 140/1 218/700 222/2 SEEN-BY: 230/150 240/1120 249/303 250/1 261/38 100 266/404 267/155 280/1027 SEEN-BY: 282/1031 1056 292/907 908 320/119 219 340/400 393/68 70 633/267 280 SEEN-BY: 640/384 712/620 848 770/1 801/161 189 2320/100 @PATH: 261/38 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.