Re: [WebDNA] unix timestamp in WebDNA

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102076
interpreted = N
texte = eh.. my post was a bit confusing... typing fast. What I meant to say is that Marc's solution is based off of WebDNA's epoch.. which is far before Unix's epoch of 1970. However, you have a couple choices to grab the unix time stamp.... if you are on a *nix machine, you can do something like: [shell]/bin/date +FORMAT=%s[/shell] (my previous code just puts that in a function and strips off extra text) You could also do some math using WebDNA's epoch and the unix epoch date.. but you may may need to account for leap years etc.. It would help if you describe your project a bit. Donovan -- Donovan D. Brooke PH: 1 (608) 770-3822 ------------------------------------------------ VP WebDNA Software Corporation 16192 Coastal Highway Lewes, DE 19958 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] unix timestamp in WebDNA (Donovan Brooke 2009)
  2. Re: [WebDNA] unix timestamp in WebDNA (Dana Keil 2009)
  3. Re: [WebDNA] unix timestamp in WebDNA (Dana Keil 2009)
  4. Re: [WebDNA] unix timestamp in WebDNA (Marc Thompson 2009)
  5. Re: [WebDNA] unix timestamp in WebDNA (Marc Thompson 2009)
  6. Re: [WebDNA] unix timestamp in WebDNA (Dana Keil 2009)
  7. Re: [WebDNA] unix timestamp in WebDNA (Marc Thompson 2009)
  8. Re: [WebDNA] unix timestamp in WebDNA (Donovan Brooke 2009)
  9. Re: [WebDNA] unix timestamp in WebDNA (Dana Keil 2009)
  10. Re: [WebDNA] unix timestamp in WebDNA (Donovan Brooke 2009)
  11. Re: [WebDNA] unix timestamp in WebDNA (Donovan Brooke 2009)
  12. RE: [WebDNA] unix timestamp in WebDNA ("Olin Lagon" 2009)
  13. Re: [WebDNA] unix timestamp in WebDNA (Donovan Brooke 2009)
  14. Re: [WebDNA] unix timestamp in WebDNA (Marc Thompson 2009)
  15. [WebDNA] unix timestamp in WebDNA (Dana Keil 2009)
eh.. my post was a bit confusing... typing fast. What I meant to say is that Marc's solution is based off of WebDNA's epoch.. which is far before Unix's epoch of 1970. However, you have a couple choices to grab the unix time stamp.... if you are on a *nix machine, you can do something like: [shell]/bin/date +FORMAT=%s[/shell] (my previous code just puts that in a function and strips off extra text) You could also do some math using WebDNA's epoch and the unix epoch date.. but you may may need to account for leap years etc.. It would help if you describe your project a bit. Donovan -- Donovan D. Brooke PH: 1 (608) 770-3822 ------------------------------------------------ VP WebDNA Software Corporation 16192 Coastal Highway Lewes, DE 19958 Donovan Brooke

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:

Bug? (1997) [OT] Puget Sound Meteorites? (2004) WebCat 4.0 & WebMerchant (2000) Variables for chat (1997) Confused about Grep Syntax (2004) [FoundItems] solved - thanks (1997) PDF template hell (2000) WebCat2 - Getting to the browser's username/password data (1997) filtering [founditems] (2004) [table] strange behaviour REAL solution (2003) [WebDNA] What Happened To Zero? (2017) Bug or syntax error on my part? (1997) [OT] Help Webcat 213 win (2000) Waitfor file (2000) Can someone help? (2000) 5.0 Pricing (2003) [WebDNA] trouble with [url] encoding??? (2014) WebCatalog f2 Installation (1997) Locking up with WebCatalog... (1997) [LOOKUP] (1997)