Re: feature request-- [epoch]
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55516
interpreted = N
texte = Dan Strong wrote:> Sorry ahead of time if my thinking is malformed (this IS off the top of > my head...), but intuitively, it seems to me that by knowing the date of > the epoch ('standard' (UNIX, etc.), or your own) you could do anything > you want...Please believe me when I say that the only epoch worth discussing is 1970-01-01T00:00:00. This is the international UTC epoch (and oddly enough the Unix one as well). In order for a "number of seconds since some epoch" to be useful, the "epoch" must be the same for all calculations. This number will be consistent no matter what timezone you are in (which a floating epoch will not be).If you want to use "number of seconds since some specific second" subtract the epoch from your value to produce an offset.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Dan Strong wrote:> Sorry ahead of time if my thinking is malformed (this IS off the top of > my head...), but intuitively, it seems to me that by knowing the date of > the epoch ('standard' (UNIX, etc.), or your own) you could do anything > you want...Please believe me when I say that the only epoch worth discussing is 1970-01-01T00:00:00. This is the international UTC epoch (and oddly enough the Unix one as well). In order for a "number of seconds since some epoch" to be useful, the "epoch" must be the same for all calculations. This number will be consistent no matter what timezone you are in (which a floating epoch will not be).If you want to use "number of seconds since some specific second" subtract the epoch from your value to produce an offset.John-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 301-429-5748-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
John Peacock
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Using Cookie for client specific info? (1997)
NTbeta18 corrupted? (1997)
SQL Madness (2005)
autosensing lanague selection (1997)
[WebDNA] I liked you (2014)
WebCat2b13MacPlugIn - [include] doesn't allow creator (1997)
Word search (1997)
Faxing orders in place of email (1997)
emailer (1997)
Striping Characters (1998)
SERIAL NUMBER PROBLEM *AGAIN*!!! (1998)
webcat- multiple selection in input field (1997)
referrer & truncation (1998)
WebDNA 5.0 freeBSD?!!? (2003)
redirect with frames (1997)
WebStar Secure on other machine (1997)
GuestBook example (1997)
Webstar 1.3.1 PPC (1997)
WebCatalog can't find database (1997)
Separate SSL Server (1997)