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:

Copyright ? (1997) session handling (2004) The Guru Speaks-very long reply (1998) Fun with dates (1997) Trouble with listwords (2000) Setting up shop (1997) customer.db and forms (1999) FW: Shipping calculations (1997) Pirated WebCat? NOT... (2003) Expert tech support -- a fast and simple solution (long) ... (2000) Random Image (1998) Server Load Tester (2000) Re1000001: Setting up shop (1997) Nav. 4 probs with cart - Serious problem (1997) Help! WebCat2 bug (1997) FW: weird problem (2004) Forms Search Questions (1997) Forcing a NEWCART (1997) LetterRip and WebCat & more (1998) triggering an update of two frames (1998)