[gradsusr] UTC time converting to standard time

Howard Staines metris at xtra.co.nz
Fri Jan 3 13:22:58 EST 2014


I have an extensive if statement to convert to standard time. I have not
tackled daylight saving time however
The looping if statements have to cover when a new month starts. So a
similar logic could be used to add or subtract an hour.

My function logic is 110 lines long . and then another 60 lines within the
script. No Idea how efficient it is however.

Im happy to share the code .. Leaving you to doctor in the Daylight saving
time



kind regards 

Howard Staines
Manager 

METRIS forecast systems 
P O Box 24, Featherston | ph 0800 372 433  | mailto:metris at xtra.co.nz   |
www.metris.co.nz  |





More information about the gradsusr mailing list