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 Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 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:

    
  1. Re: feature request-- [epoch] ( John Peacock 2004)
  2. Re: feature request-- [epoch] ( Donovan Brooke 2004)
  3. Re: feature request-- [epoch] ( Donovan Brooke 2004)
  4. Re: feature request-- [epoch] ( "Dan Strong" 2004)
  5. Re: feature request-- [epoch] ( John Peacock 2004)
  6. Re: feature request-- [epoch] ( "Dan Strong" 2004)
  7. Re: feature request-- [epoch] ( "Nitai @ ComputerOil" 2004)
  8. Re: feature request-- [epoch] ( John Peacock 2004)
  9. Re: feature request-- [epoch] ( Donovan Brooke 2004)
  10. Re: feature request-- [epoch] ( "Nitai @ ComputerOil" 2004)
  11. Re: feature request-- [epoch] ( Donovan Brooke 2004)
  12. feature request-- [epoch] ( Donovan Brooke 2004)
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 Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 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)