Re: Cart date/time

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 66525
interpreted = N
texte = Matthew Bohne wrote: > Try chopping off the last four digits, that should give you the number > of seconds since 1/1/1900 00:00:00 On the Mac, perhaps, but on Windows or Linux, the epoch is 1/1/1970. The Mac epoch is broken in the sense that it is a floating epoch based on local time Jan 1, 1900. On Windows and Linux, the first *10* characters of the cart value are the number of seconds since 1/1/1970 (Unix epoch). The remaining digits are probably milliseconds (3 digits) followed by the unique sequence number Matthew mentioned (4 digits). Before Sun Sep 9 01:46:39 2001 GMT, the first *9* digits were the number of seconds since the epoch (again on Windows and Unix). See "Happy 1e9 day" here: http://www.oreillynet.com/onlamp/blog/2001/09/ 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: Cart date/time ( John Peacock 2006)
  2. Re: Cart date/time ( "Palle B. Nielsen (PowerPalle)" 2006)
  3. Re: Cart date/time ( John Peacock 2006)
  4. Re: Cart date/time ( "Palle B. Nielsen (PowerPalle)" 2006)
  5. Re: Cart date/time ( Donovan Brooke 2006)
  6. Re: Cart date/time ( "David Bastedo" 2006)
  7. Re: Cart date/time ( Mark Derrick 2006)
  8. Re: Cart date/time ( Stuart Tremain 2006)
  9. Re: Cart date/time ( Marko Bernyk 2006)
  10. Re: Cart date/time ( Marko Bernyk 2006)
  11. Re: Cart date/time ( "Dan Strong" 2006)
  12. Re: Cart date/time ( Marko Bernyk 2006)
  13. Re: Cart date/time ( "Dan Strong" 2006)
  14. Re: Cart date/time ( "Dan Strong" 2006)
  15. Re: Cart date/time ( "Dan Strong" 2006)
  16. Re: Cart date/time ( Stuart Tremain 2006)
  17. Re: Cart date/time ( "Dan Strong" 2006)
  18. Re: Cart date/time ( Donovan Brooke 2006)
  19. Re: Cart date/time ( Stuart Tremain 2006)
  20. Re: Cart date/time ( Donovan Brooke 2006)
  21. Re: Cart date/time ( Stuart Tremain 2006)
  22. Re: Cart date/time ( Marko Bernyk 2006)
  23. Re: Cart date/time ( Stuart Tremain 2006)
  24. Re: Cart date/time ( Mark Derrick 2006)
  25. Re: Cart date/time ( "Dan Strong" 2006)
  26. Re: Cart date/time ( "Dan Strong" 2006)
  27. Re: Cart date/time ( Donovan Brooke 2006)
  28. Re: Cart date/time ( John Peacock 2006)
  29. Re: Cart date/time ( Donovan Brooke 2006)
  30. Re: Cart date/time ( John Peacock 2006)
  31. Re: Cart date/time ( Matthew Bohne 2006)
  32. Re: Cart date/time ( Pat Holliday 2006)
  33. Cart date/time ( Mark Derrick 2006)
Matthew Bohne wrote: > Try chopping off the last four digits, that should give you the number > of seconds since 1/1/1900 00:00:00 On the Mac, perhaps, but on Windows or Linux, the epoch is 1/1/1970. The Mac epoch is broken in the sense that it is a floating epoch based on local time Jan 1, 1900. On Windows and Linux, the first *10* characters of the cart value are the number of seconds since 1/1/1970 (Unix epoch). The remaining digits are probably milliseconds (3 digits) followed by the unique sequence number Matthew mentioned (4 digits). Before Sun Sep 9 01:46:39 2001 GMT, the first *9* digits were the number of seconds since the epoch (again on Windows and Unix). See "Happy 1e9 day" here: http://www.oreillynet.com/onlamp/blog/2001/09/ 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:

Internet Advancement (2003) WebCat2final1 crashes (1997) [HIDEIF] inside [FOUNDITEM] (1997) Billing when shipped (2006) AuthNumber, ResponseText etc (2005) html being uncooperative (2000) Smart caching problems with 2.1b3? (1997) All choices on IE different than Netscape (1997) process SSI (1998) Correction: shipCost (2000) (1997) Fw: virus alert; Jdbgmgr.exe (2003) [WebDNA] [BULK] Securing WebCatalog login (2017) [url] (1997) [WebDNA] Accepting Payments on Site (2013) DNS Lookup 2 (2000) Uh...can someone help me out with the b10? (1997) Emailer update for Mac? (1998) [addlineitems] (1997) Multiple prices (1997)