04-22-2010 05:39 PM
OOPS!
Forgot to disconnect that typedef control before saving.
04-22-2010 06:28 PM
James, your solution sounds very reasonable, I like that better than my isDST idea. And I've been trying to get the server programmer to change the way he writes the file names but to no avail yet. I think we both agree, though, that everything we do in the future will be UTC 🙂
If you get a chance, could you post your vi as Labview 8.6? I haven't installed ver. 9 yet...
Thanks.
-Dan
04-22-2010 06:34 PM
04-23-2010 03:21 AM
tbob wrote:
rolfk wrote:
Well as long as you are in the US you should be save in assuming that the DST switch over is at the same time. ...Unless you are in Arizona where we do not observe DST. (and I'm glad we don't)
Isn't there another state that doesn't observe DST, some farming state, maybe Iowa?
That's a bummer then Shouldn't be surprised that even the USA can't get a uniform DST.
I've learned to live with DST but never understood the real rational behind it very much. Compared to 30 years ago when DST was fairly new in Europe the situation is at least insofar better that the DST periods are mostly the same across Europe so that you do not have to adjust the watches anymore beyond normal timezone differences.
04-23-2010 11:13 AM
FYI
DST was invented as a way to save electricity. Starting in the spring, when the days are getting longer and the sun rises early, clocks are set ahead by one hour. So if the sun normally rises at 5am, with DST it rises at 6am. Most people wake up around 6am (this is just a rough assumption - some actual studies were made but I don't know the results), so they are arising with the sun. If the clocks were left alone, there would be one hour of wasted daylight (5am to 6am). In the evening, one would have to turn on the house lights one hour earlier without DST. Hence the savings in electricity.
I don't like it because they start DST too early in the year. For the first couple of months, it is still dark outside at 6am (DST) and I've seen little children waiting in the dark on the side of the road for a school bus (out in rural country). I could not see the rational behind starting DST in April, now they are starting it in March (I think), which makes it even worse. Instead of saving electricity, for the first couple of months people are having to put on their house lights when they arise because it is still dark outside. So where are the savings? As usual, nothing our politicians do make sense.
Why did Europe follow the US?
04-23-2010 11:55 AM
Dan,
I was doing some cleanup work in my user.lib today and came across a VI I made years ago to add time to the date-time cluster. Just thought it might be a useful to adjust Pacific to UTC. And if needed, you can easily create a modified version for subtracting time. I also attached a subVI it calls that checks to see if the year is a leap year.
Regards,
James
04-23-2010 11:58 AM