Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Locale Timings

Locale Timings

Scheduled Pinned Locked Moved The Lounge
3 Posts 3 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NormDroid
    wrote on last edited by
    #1

    Chris Just a observation, I'm in the uk at 22:23 but the postings should take account of the postee time. Not a critism, how can you take the local time of a posting?

    C 1 Reply Last reply
    0
    • N NormDroid

      Chris Just a observation, I'm in the uk at 22:23 but the postings should take account of the postee time. Not a critism, how can you take the local time of a posting?

      C Offline
      C Offline
      Chris Maunder
      wrote on last edited by
      #2

      I can't see anything in the server variables that would allow me to work out the client's time. Also, if I based the dates on local time then message order would be all messed up. I could always have "Local time" and "Server time" date fields, but I think in the end it's more hassle than it's worth. Although, I guess if I could work out your local time zone I could always use the server's time for calculations, but display the times relative to you. Hmmm...intriguing... cheers, Chris Maunder

      J 1 Reply Last reply
      0
      • C Chris Maunder

        I can't see anything in the server variables that would allow me to work out the client's time. Also, if I based the dates on local time then message order would be all messed up. I could always have "Local time" and "Server time" date fields, but I think in the end it's more hassle than it's worth. Although, I guess if I could work out your local time zone I could always use the server's time for calculations, but display the times relative to you. Hmmm...intriguing... cheers, Chris Maunder

        J Offline
        J Offline
        Jason De Arte
        wrote on last edited by
        #3

        It's been a while since I looked at JavaScript/VBScript/JScript, but one of them might have access to time zone information on the web client (?) If it's possible, you could leave all the time settings the way they are & run a script in the web page to automatically convert the timestamps to whatever "local time" is. -Jason

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups