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:00On 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 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:
Matthew Bohne wrote:> Try chopping off the last four digits, that should give you the number > of seconds since 1/1/1900 00:00:00On 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 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:
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)