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:

refreshing IE with posted .tmpl (1997) Practice runs ? (1997) [LOOKUP] (1997) WebCat2: Items xx to xx shown, etc. (1997) Grep Search and Replace (2002) Uniqueness of Cart number (2000) stats (2001) Too Much In (1998) Not really WebCat (1997) Timer Values on [redirect] (1998) Date Formats (1997) seeminly simple... but beyond my grasp :) (2000) Getting Emailer to send mail (1997) Upgrading old WebCat Database Files (1997) Make sure I understand this??? (1997) problems with 2 tags (1997) page redirect in webDNA (1997) WC1.6 to WC2 date formatting (1997) Secure server question (1997) Attn: Bug in GeneralStore example b15 (1997)