Re: adding time

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 50630
interpreted = N
texte = Kalin Mintchev wrote: > i just need to send out files that have the GMT time and have to summ 6 > hours to the time the server has...And you should also be aware that just adding 6 hours to the time won't deal when you are close to midnight. Check out the archives for my latest MIMEHeaders.inc files, which shows the proper way to handle this. Basically it breaks down to the following pseudocode: later = now + 6 if later < now # wrapped around to next day date = date + 1HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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: adding time (John Peacock 2003)
  2. Re: adding time (WebCat @ Inkblot Media 2003)
  3. Re: adding time (John Peacock 2003)
  4. Re: adding time (Kalin Mintchev 2003)
  5. Re: adding time (WebCat @ Inkblot Media 2003)
  6. Re: adding time (Kalin Mintchev 2003)
  7. Re: adding time (WebCat @ Inkblot Media 2003)
  8. adding time (Kalin Mintchev 2003)
  9. Re: Adding time above 24 hours (Matthew Bohne 2002)
  10. Re: Adding time above 24 hours (Donovan 2002)
  11. Re: Adding time above 24 hours (Matthew Bohne 2002)
  12. Re: Adding time above 24 hours (Donovan 2002)
  13. Adding time above 24 hours (Matthew Bohne 2002)
Kalin Mintchev wrote: > i just need to send out files that have the GMT time and have to summ 6 > hours to the time the server has...And you should also be aware that just adding 6 hours to the time won't deal when you are close to midnight. Check out the archives for my latest MIMEHeaders.inc files, which shows the proper way to handle this. Basically it breaks down to the following pseudocode: later = now + 6 if later < now # wrapped around to next day date = date + 1HTHJohn-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4720 Boston Way Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5747 ------------------------------------------------------------- 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:

webcat license???? (1997) Separate SSL Server (1997) Sku numbers (1997) Slow Server (2005) Replace Missing Images (2003) [SearchString] usage (1997) Bug Report, maybe (1997) ConvertChars (1998) Showif, Hideif reverse logic ? (1997) Permission denied? (2004) PROBLEM (1997) Hiding HTML and page breaks (1997) test (2004) HomePage Caution (1997) Non-Cart Files in Shopping Cart Folder (1997) WebCat2 - [format thousands] (1997) [numfound] for [listfiles] (1998) Help! WebCat2 bug (1997) Too Many Items found (2000) Error Messages Returned to User (1997)