export TZUTC=$(date +"%z" | sed 's/\+//')
export UNIXTIME=$(date +"%s.%N")
This reply should contain the above kludge in nanoseconds.
export TZUTC=$(date +"%z" | sed 's/\+//')
Yes but then $TZUTC won't work for normal dating applications as shown by using my FTN date and what would be a corrupted TZUTC since all my systems are set to UTC;
@UNIXTIME: 1558199205.806422983
@REPLY: 2:280/464.113 5ce02b89
@MSGID: 1:153/7001 5ce03ba5
@CHRS: UTF-8 4
Hey Maurice!
export UNIXTIME=$(date +"%s.%N")
This reply should contain the above kludge in nanoseconds.
Life is good,227/400
Maurice
... Don't cry for me I have vi.
--- GNU bash, version 5.0.7(1)-release (x86_64-pc-linux-gnu)
* Origin: Little Mikey's Brain - Ladysmith BC, Canada (1:153/7001) SEEN-BY: 57/0 153/757 7001 154/10 20 30 40 700 203/0 220/70 221/0 6
SEEN-BY: 229/426 240/5832 267/800 280/464 5003 310/31 317/2 340/800 393/68 SEEN-BY: 396/45 423/120 712/848 770/0 1 10 100 330 340 772/0 1 210 500 3634/12
SEEN-BY: 116/116 123/25 150 755 135/300 153/7715 261/38 3634/15 27 50 123/50
SEEN-BY: 123/115 3634/0 18/0 123/0 1/120
@PATH: 153/7001 757 770/1 280/464 154/10 3634/12
@UNIXTIME: 1558200283.593707943
@REPLY: 1:153/7001 5ce03ba5
@MSGID: 2:280/464.113 5ce03fdb
@CHRS: UTF-8 4
Hallo Maurice!
This reply should contain the above kludge in nanoseconds.
Technically it is in seconds. This reply should also have the kludge in seconds.
Het leven is goed,
Maurice
... Huil niet om mij, ik heb vi.
--- GNU bash, version 5.0.7(1)-release (x86_64-pc-linux-gnu)
* Origin: Little Mikey's EuroPoint - Ladysmith BC, Canada (2:280/464.113) SEEN-BY: 15/0 19/36 34/999 90/1 104/57 106/201 116/18 123/140 153/7715 218/700
SEEN-BY: 222/2 230/150 152 240/1120 250/1 261/38 100 1466 266/512 267/155 SEEN-BY: 275/100 282/1031 1056 291/1 111 320/119 219 340/400 342/13 396/45 SEEN-BY: 712/848 801/161 189 2320/105 3634/12 5020/715 1042 116/116 123/25 150
SEEN-BY: 123/755 135/300 154/10 3634/15 27 50 123/50 115 3634/0 18/0 123/0 SEEN-BY: 1/120
@PATH: 280/464 770/1 712/848 261/38 3634/12
export TZUTC=$(date +"%z" | sed 's/\+//')
besides, there's no other software in the world other than FTN
software that even knows about the TZUTC environment variable or
FTN control line... all the others use TZ ;)
export TZUTC=$(date +"%z" | sed 's/\+//')
[//hp-junkpile/home/paul]echo $TZUTC
1000
:)
the main problem with TZUTC is that somehow it has to be adjusted when daylight saving switches... that's the one thing i don't like about it
but it works for what it is used for ;)
Sysop: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 139:10:48 |
Calls: | 166 |
Files: | 5,389 |
Messages: | 223,229 |