Re: Can GMT be called from the OS ?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 56644
interpreted = N
texte = >Hi all, > >WebDNA 5.1 >Linux >Apache > >I need to calculate GMT to keep the dates consistent on my sites. Is it >possible to call GMT from the operating system using [shell] or is there so= me >consistent calculation that I could use so that I can ensure that I get GMT >regardless of where the site is hosted. > >I can get the timezone through [date %Z] but it doesn't give the offset - >maybe someone has a db with all the timezones and their offsets ? If it's the server's GMT time you're looking for might [shell]date= -u[/shell] be what you're looking for. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmoe Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se ------------------------------------------------------------- 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: Can GMT be called from the OS ? ( "Tom Duke" 2004)
  2. Re: Can GMT be called from the OS ? ( Christer Olsson 2004)
  3. Re: Can GMT be called from the OS ? ( Gary Krockover 2004)
  4. Re: Can GMT be called from the OS ? ( "Tom Duke" 2004)
  5. Re: Can GMT be called from the OS ? ( John Peacock 2004)
  6. Can GMT be called from the OS ? ( "Tom Duke" 2004)
>Hi all, > >WebDNA 5.1 >Linux >Apache > >I need to calculate GMT to keep the dates consistent on my sites. Is it >possible to call GMT from the operating system using [shell] or is there so= me >consistent calculation that I could use so that I can ensure that I get GMT >regardless of where the site is hosted. > >I can get the timezone through [date %Z] but it doesn't give the offset - >maybe someone has a db with all the timezones and their offsets ? If it's the server's GMT time you're looking for might [shell]date= -u[/shell] be what you're looking for. -- ************************************************************* Christer Olsson PO Box 9160 Phone +46 40 25 85 85 Ljusa Id=E9er AB SE-200 39 Malmoe Fax +46 40 25 85 89 Kantyxegatan 5 Sweden http://www.ljusaideer.se ------------------------------------------------------------- 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/ Christer Olsson

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:

Cannot calculate prices (1997) can WC render sites out? (1997) [off] Promotions/ECRC (1997) Post size Limit? (1998) Bug Report, maybe (1997) Re:quit command on NT (1997) PIXO support (1997) Setting up the server (1997) PSC recommends what date format yr 2000??? (1997) ShowNext example for GeneralStore (1997) Bug? (1997) E-mailer error codes (1997) Corrupt Database Problem... (2000) [HIDEIF] inside [FOUNDITEM] (1997) bug in [SendMail] (1997) Odd linefeed problem (2003) The IBC root beer has arrived! (1997) Exclamation point (1997) blank page from template (1997) Rhapsody? (1997)