Forum Navigation
Daylight Saving Time in Formatted Time
Posted: 04/13/09 20:50:10I have the following code
auto layout=new Locale(); Stdout(layout("{:R}",WallClock.now));which outputs a string such as "Mon, 13 Apr 2009 21:00:01 GMT".
I presume Tango somehow finds out from the OS that I'm in the UK and thus knows my time zone is normally GMT. Is there a way to take into consideration daylight saving time and thus return "BST" as opposed to "GMT"?