"A Twitter user who posted a "joke" bomb threat against a UK airport could be jailed after pleading guilty to sending a menacing message...[he] has already been suspended from work and banned from Robin Hood Airport for life"
The whole story here
What a plonker.
Monday, 22 February 2010
Thursday, 4 February 2010
Converting from local to UTC in C#
Its one of thse things that should be easy.
However if you get your DateTime from a database it will be anonymous, i.e. it will not have its kind set.
So, do this:
DateTime ConvertFromLocalToUTC(DateTime localTime)
{
DateTime anon = new DateTime(localTime.Ticks, DateTimeKind.Local);
DateTime dtUTC = anon.ToUniversalTime();
return dtUTC;
}
Oh, and, in other news, happy Imbolc!
However if you get your DateTime from a database it will be anonymous, i.e. it will not have its kind set.
So, do this:
DateTime ConvertFromLocalToUTC(DateTime localTime)
{
DateTime anon = new DateTime(localTime.Ticks, DateTimeKind.Local);
DateTime dtUTC = anon.ToUniversalTime();
return dtUTC;
}
Oh, and, in other news, happy Imbolc!
Wednesday, 6 January 2010
Tuesday, 29 December 2009
Tuesday, 22 December 2009
Happy Solstice
08:04 today was Solstice Sunrise.
Yah boo sucks to all those astronomically challenged hippies who observed it at 17:47 yesterday.
I welcomed the new year in my own inimitable style, at the M1 service station near Kettering, barefoot in the snow by the petrol pumps.
Happy Solstice!
Yah boo sucks to all those astronomically challenged hippies who observed it at 17:47 yesterday.
I welcomed the new year in my own inimitable style, at the M1 service station near Kettering, barefoot in the snow by the petrol pumps.
Happy Solstice!
Friday, 11 December 2009
Beasts
Doing the rounds last night I found 5 beasts* in the paddock - trying to herd them back through the hole in the hedge in the dark was pointless, so I shut them in and left them to it.
How exciting is my life? :)
* thats country speak for cows, it is, arrr.
How exciting is my life? :)
* thats country speak for cows, it is, arrr.
Friday, 4 December 2009
Global Warming
I give you, The Ratcliffe upon Soar power station :)
Entirely unrelated* very cool photographers are
* OK They are not unrelated. Nah!
Subscribe to:
Posts (Atom)


