We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6104
    • 26 Posts
    I am trying to get the WeatherX snippet working. I have most of it, but I can’t seem to figure out the $offSet variable. It is displaying the time 2 hours faster then I want for my local time. so I did &offSet=`-2` in the snippet call but the time isn’t changing. Also how can I cut off the decimal point on the temp. Instead of 63.2 just 63.

    Thanks
      • 6104
      • 26 Posts
      I really need to at least get the offset time working. Anyone have any ideas what I am doing wrong?

      Thanks
        • 36592
        • 970 Posts
        Why don’t you show us your WeatherX snippet call and its chunk here ?
          • 6104
          • 26 Posts
          here is my chunk with my snippet call

              [!WeatherX?&zipcode=`99019`&units=`english`&offSet=`-2`!]
                      <p>Liberty Lake, WA</p>
                      <h1>[+wxTemp+]</h1>
                      <h2>[+wxDate+]</h2>
            • 36592
            • 970 Posts
            It looks like &offSet parameter is used only to determine which graphic icon to displayed...
            [+wxDate+] is just the output of PHP’s date() function.
            So if you have difference between displayed time and real time, I think you have to adjust your server’s time offset.
              • 6104
              • 26 Posts
              ok thanks for your help. I just used the DateTime snippet for the time.