jenni Posted August 14, 2011 Share Posted August 14, 2011 Hi This one goes for the Dutch peeps but feel free to help. I'm looking for a pal script that check if the date now is summertime or wintertime Info about summer time: http://berekenen.geld-gids.nl/vakantie/zomertijd-wintertijd.html I.E The news url starts now at 15:00 (summertime) but it should start at 14:00 (wintertime) Why Since i'm using a script with an url wich starts at a news on time , i want to make sure that when there is wintertime the news will started on time. Zomertijd 2011: klok verzetten in de nacht van zaterdag 26 op zondag 27 maart Wintertijd 2011: tijd wordt verzet in de nacht van zaterdag 29 op zondag 30 oktober So the check will be like this. If date is >sunday 27march and go to label summertime else go to label wintertime :Summertime while (Now >= T['19:29:00']) and (Now begin :Wintertime while (Now >= T['18:29:00']) and (Now begin Hopes this helps. Thanks for your input (I'm learning) J Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.