TIP: Click on subject to list as thread! ANSI
echo: tuxpower
to: Maurice Kinal
from: Tony Langdon
date: 2016-05-01 16:59:00
subject: Re: Testing

-=> Maurice Kinal wrote to Tony Langdon <=-

 MK> -={ Sunday, 01 May 2016, 01:06:44.931189447 +1000 }=-

 MK> Hey Tony!

 TL> Story of my life

 MK> Excellent.  Speaking of which, what do you think about the above
 MK> extra-special datetime stamp?  I was thinking of using the %s and
 MK> possibly the %N that created the one between the '-={ }=-' in the msg
 MK> header instead of the ftn one.
 MK>  That way the enduser could configure whatever style of datetime stamp
 MK> they want as far as their display is concerned.  The obsolete ftn one
 MK> can be tacked on once any messages are packed for distribution beyond
 MK> the host node.

For the local system, why not.  Resolution does exceed accuracy by a few orders
of magnitude I suspect, unless you run your own GPS locked time server on your
LAN. :-)

 MK> As an example the above datetime in the header would be
 MK> "1462028804.931189447".
 MK>  That can be converted with;

 MK>   :read !date --date="{at}1462028804.931189447"
 MK> Sat Apr 30 15:06:44 UTC 2016

 MK> which is the standard output for 'date' on any Linux system I have ever
 MK> seen, including the UTC part.

I use the date command a lot, usually to create timestamps of the format
YYYYMMDDHHMMSSS.sssssssss, which are useful for things like timestamping
filenames (and having them appear in chronological order in directory listings
:) ).  I'm sure you can work out the format string ;)  But your format allows
for all of these possibilities, so I think that's an excellent idea for the
actual message timestamp - simple and easily converted with the date command
into anything we like. :)


... Growing older is typical. Growing up is the option.
--- MultiMail/Win32 v0.49
* Origin: Freeway BBS - freeway.apana.org.au (3:633/410)
SEEN-BY: 633/0 267 280 410 640/384 712/848 770/1
@PATH: 633/410 280 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™.