tags:

views:

143

answers:

1

I have used PInvoke to change the TimeZone of my Clients System. Instead of that Iwould like to change TimeZone of my Application only. Is there a workaround for this.

+1  A: 

Can you simply store the timezone information in memory? You should be able to also serialize this data so that it is persisted between application executions.

This way, your application can exist in a timezone entirely of your choosing, independent of your machine's time (and location).

The TimeZone class should be a good starting point for what you need to do.

Charlie Salts