Hi folks, this is particularly difficult to explain, however I will try by best
at the moment I have a raddatetimepicker on a page,
I have a pagemethod that accepts the value of the raddatetimepicker field and saves it to the database.
at present I am in New Zealand and the hosted application is on our server in the UK. if I enter in a date of say 23/apr/2010 13:00 the date is saved on the server as 23/apr/2010 01:00. which I understand and accept.
However when I go to view the record back on my browser it shows the server time (this is because the date &time is actually bound to the control server side) . I am sure that if I save the record again that the time on the server will go to 22/apr/20101 13:00
what is the best way to ensure that times are correct, I believe that using UTC format may be the best way to go, but as yet I've not seen a good example for how to use this. or do I supply the current time zone of the client to the server and do my calculations there?
Many Thanks
Mark