Specify timezone for snippet
Sometimes I need to check a code that works with local timezone which should be different from UTC. It would be great to have an ability to specify timezone in that cases. Thank you!
Rasmus Schultz commented
Or at least just change the timezone of the server to something other than UTC.
Currently you can't test or demonstrate any differences or conversions between UTC or local `DateTime` instances - some examples will misleadingly appear to work correctly on servers with a non-UTC system timezone, e.g. most systems.
Ryan Kelly commented
Wanted to test out some code quickly to find a timezone issue related to parsing this wouldn't happen in an invariant culture and timezone