Tried searching everywhere and no go.
The approach so far is DateTime dt = (DateTime)sqlparam.Value;. Which I can imagine can go wrong on different configurations, different SQL regional settings, different PC regional settings and so on. But then again, parsing value off SQL datetime string is even crazier idea.
Is there a working solution for this, it's .NET, there should be one, right?